From bff377c712592abb6fbdbf13672da6f36a67af5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Sun, 5 Dec 2021 13:54:35 +0200 Subject: [PATCH] Clean up some unused cross-crate dependencies --- Cargo.lock | 4 ---- crates/hir_expand/Cargo.toml | 3 --- crates/ide_completion/Cargo.toml | 2 -- crates/mbe/Cargo.toml | 1 - crates/rust-analyzer/Cargo.toml | 2 +- 5 files changed, 1 insertion(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index df01cd74fe..8a0d809a1b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -525,7 +525,6 @@ dependencies = [ "cfg", "cov-mark", "either", - "expect-test", "itertools", "la-arena", "limit", @@ -639,12 +638,10 @@ dependencies = [ "profile", "rustc-hash", "smallvec", - "sourcegen", "stdx", "syntax", "test_utils", "text_edit", - "xshell", ] [[package]] @@ -902,7 +899,6 @@ name = "mbe" version = "0.0.0" dependencies = [ "cov-mark", - "expect-test", "parser", "rustc-hash", "smallvec", diff --git a/crates/hir_expand/Cargo.toml b/crates/hir_expand/Cargo.toml index f17e1e857b..380b7ef877 100644 --- a/crates/hir_expand/Cargo.toml +++ b/crates/hir_expand/Cargo.toml @@ -24,6 +24,3 @@ profile = { path = "../profile", version = "0.0.0" } tt = { path = "../tt", version = "0.0.0" } mbe = { path = "../mbe", version = "0.0.0" } limit = { path = "../limit", version = "0.0.0" } - -[dev-dependencies] -expect-test = "1.2.0-pre.1" diff --git a/crates/ide_completion/Cargo.toml b/crates/ide_completion/Cargo.toml index 8ade88fdd1..f9ce03bce2 100644 --- a/crates/ide_completion/Cargo.toml +++ b/crates/ide_completion/Cargo.toml @@ -30,7 +30,5 @@ hir = { path = "../hir", version = "0.0.0" } [dev-dependencies] expect-test = "1.2.0-pre.1" -xshell = "0.1" test_utils = { path = "../test_utils" } -sourcegen = { path = "../sourcegen" } diff --git a/crates/mbe/Cargo.toml b/crates/mbe/Cargo.toml index cff7224e02..651ca409c6 100644 --- a/crates/mbe/Cargo.toml +++ b/crates/mbe/Cargo.toml @@ -13,7 +13,6 @@ doctest = false cov-mark = "2.0.0-pre.1" rustc-hash = "1.1.0" smallvec = "1.2.0" -expect-test = "1.2.0-pre.1" tracing = "0.1" syntax = { path = "../syntax", version = "0.0.0" } diff --git a/crates/rust-analyzer/Cargo.toml b/crates/rust-analyzer/Cargo.toml index 4ad91e8da8..0863c40716 100644 --- a/crates/rust-analyzer/Cargo.toml +++ b/crates/rust-analyzer/Cargo.toml @@ -22,7 +22,6 @@ anyhow = "1.0.26" crossbeam-channel = "0.5.0" dissimilar = "1.0.2" itertools = "0.10.0" -jod-thread = "0.1.0" lsp-types = { version = "0.91", features = ["proposed"] } parking_lot = "0.11.0" xflags = "0.2.1" @@ -74,6 +73,7 @@ jemallocator = { version = "0.4.1", package = "tikv-jemallocator", optional = tr [dev-dependencies] expect-test = "1.2.0-pre.1" +jod-thread = "0.1.0" xshell = "0.1" test_utils = { path = "../test_utils" }