From 12f0b93f3675af975ec040c19423b61f487bac65 Mon Sep 17 00:00:00 2001 From: Robert Knight Date: Fri, 11 Oct 2024 19:41:20 +0100 Subject: [PATCH] Remove rten crate's self dependency in development The rten crate had a dependency on itself in development in order to enable additional features. This worked when building, but appeared to prevent rust analyzer from working properly in the rten-examples crate. See also https://github.com/rust-lang/cargo/issues/2911. --- Cargo.lock | 1 - Cargo.toml | 1 - 2 files changed, 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ab81a349..f99fdf83 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -365,7 +365,6 @@ dependencies = [ "memmap2", "num_cpus", "rayon", - "rten", "rten-bench", "rten-simd", "rten-tensor", diff --git a/Cargo.toml b/Cargo.toml index c7a3b0c2..ded4c9ec 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -55,7 +55,6 @@ num_cpus = "1.16.0" [dev-dependencies] libm = "0.2.6" -rten = { path = ".", features = ["mmap", "random"] } rten-bench = { path = "./rten-bench" } serde_json = { workspace = true }