diff --git a/Cargo.lock b/Cargo.lock
index 5139b2b95cb..3a7e6ea676f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -526,7 +526,6 @@ dependencies = [
  "profile",
  "rustc-hash",
  "syntax",
- "test_utils",
  "tracing",
  "tt",
 ]
@@ -895,7 +894,6 @@ dependencies = [
  "cov-mark",
  "expect-test",
  "parser",
- "profile",
  "rustc-hash",
  "smallvec",
  "stdx",
@@ -1140,7 +1138,6 @@ dependencies = [
 name = "proc_macro_srv"
 version = "0.0.0"
 dependencies = [
- "cargo_metadata",
  "expect-test",
  "libloading",
  "mbe",
@@ -1149,8 +1146,6 @@ dependencies = [
  "paths",
  "proc_macro_api",
  "proc_macro_test",
- "test_utils",
- "toolchain",
  "tt",
 ]
 
diff --git a/crates/hir_expand/Cargo.toml b/crates/hir_expand/Cargo.toml
index 5655a8fdffe..b39de7cfaee 100644
--- a/crates/hir_expand/Cargo.toml
+++ b/crates/hir_expand/Cargo.toml
@@ -25,5 +25,4 @@ mbe = { path = "../mbe", version = "0.0.0" }
 limit = { path = "../limit", version = "0.0.0" }
 
 [dev-dependencies]
-test_utils = { path = "../test_utils" }
 expect-test = "1.1"
diff --git a/crates/hir_ty/Cargo.toml b/crates/hir_ty/Cargo.toml
index e44d2395480..7566bf687bf 100644
--- a/crates/hir_ty/Cargo.toml
+++ b/crates/hir_ty/Cargo.toml
@@ -40,4 +40,3 @@ tracing-subscriber = { version = "0.2", default-features = false, features = [
     "registry",
 ] }
 tracing-tree = { version = "0.1.10" }
-once_cell = { version = "1.5.0", features = ["unstable"] }
diff --git a/crates/mbe/Cargo.toml b/crates/mbe/Cargo.toml
index 1a522e90704..22bda576690 100644
--- a/crates/mbe/Cargo.toml
+++ b/crates/mbe/Cargo.toml
@@ -21,5 +21,4 @@ tt = { path = "../tt", version = "0.0.0" }
 stdx = { path = "../stdx", version = "0.0.0" }
 
 [dev-dependencies]
-profile = { path = "../profile" }
 test_utils = { path = "../test_utils" }
diff --git a/crates/proc_macro_srv/Cargo.toml b/crates/proc_macro_srv/Cargo.toml
index 939e41f8455..159e2bfa40f 100644
--- a/crates/proc_macro_srv/Cargo.toml
+++ b/crates/proc_macro_srv/Cargo.toml
@@ -25,9 +25,6 @@ paths = { path = "../paths", version = "0.0.0" }
 proc_macro_api = { path = "../proc_macro_api", version = "0.0.0" }
 
 [dev-dependencies]
-test_utils = { path = "../test_utils" }
-toolchain = { path = "../toolchain" }
-cargo_metadata = "0.14"
 expect-test = "1.1.0"
 
 # used as proc macro test targets
diff --git a/crates/rust-analyzer/Cargo.toml b/crates/rust-analyzer/Cargo.toml
index a39f57e4bdd..1dfa23414de 100644
--- a/crates/rust-analyzer/Cargo.toml
+++ b/crates/rust-analyzer/Cargo.toml
@@ -73,7 +73,6 @@ xshell = "0.1"
 test_utils = { path = "../test_utils" }
 sourcegen = { path = "../sourcegen" }
 mbe = { path = "../mbe" }
-tt = { path = "../tt" }
 
 [features]
 jemalloc = ["jemallocator", "profile/jemalloc"]