From 4ccd90af81af39d53333f23fac79e97ff2f0f621 Mon Sep 17 00:00:00 2001 From: Giles Cope Date: Sat, 11 Sep 2021 16:20:04 +0100 Subject: [PATCH] remove unused deps --- Cargo.lock | 8 -------- crates/base_db/Cargo.toml | 1 - crates/hir/Cargo.toml | 1 - crates/ide_completion/Cargo.toml | 1 - crates/proc_macro_api/Cargo.toml | 2 -- crates/rust-analyzer/Cargo.toml | 1 - crates/syntax/Cargo.toml | 1 - crates/vfs-notify/Cargo.toml | 1 - 8 files changed, 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bbd6613378..5139b2b95c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -99,7 +99,6 @@ dependencies = [ "profile", "rustc-hash", "salsa", - "stdx", "syntax", "test_utils", "tt", @@ -471,7 +470,6 @@ dependencies = [ "hir_def", "hir_expand", "hir_ty", - "indexmap", "itertools", "once_cell", "profile", @@ -641,7 +639,6 @@ dependencies = [ "syntax", "test_utils", "text_edit", - "tracing", "xshell", ] @@ -1127,8 +1124,6 @@ dependencies = [ name = "proc_macro_api" version = "0.0.0" dependencies = [ - "crossbeam-channel", - "jod-thread", "memmap2", "object", "paths", @@ -1344,7 +1339,6 @@ dependencies = [ "stdx", "syntax", "test_utils", - "text_edit", "threadpool", "tikv-jemallocator", "toolchain", @@ -1561,7 +1555,6 @@ dependencies = [ name = "syntax" version = "0.0.0" dependencies = [ - "arrayvec", "cov-mark", "expect-test", "indexmap", @@ -1848,7 +1841,6 @@ dependencies = [ "jod-thread", "notify", "paths", - "rustc-hash", "tracing", "vfs", "walkdir", diff --git a/crates/base_db/Cargo.toml b/crates/base_db/Cargo.toml index 1301d22275..b43e5efb2a 100644 --- a/crates/base_db/Cargo.toml +++ b/crates/base_db/Cargo.toml @@ -18,4 +18,3 @@ profile = { path = "../profile", version = "0.0.0" } tt = { path = "../tt", version = "0.0.0" } test_utils = { path = "../test_utils", version = "0.0.0" } vfs = { path = "../vfs", version = "0.0.0" } -stdx = { path = "../stdx", version = "0.0.0" } diff --git a/crates/hir/Cargo.toml b/crates/hir/Cargo.toml index ea1afb46d6..43059bb8cc 100644 --- a/crates/hir/Cargo.toml +++ b/crates/hir/Cargo.toml @@ -15,7 +15,6 @@ arrayvec = "0.7" itertools = "0.10.0" smallvec = "1.4.0" once_cell = "1" -indexmap = "1.7" stdx = { path = "../stdx", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } diff --git a/crates/ide_completion/Cargo.toml b/crates/ide_completion/Cargo.toml index 67c86216f1..8d91001560 100644 --- a/crates/ide_completion/Cargo.toml +++ b/crates/ide_completion/Cargo.toml @@ -11,7 +11,6 @@ doctest = false [dependencies] cov-mark = "2.0.0-pre.1" itertools = "0.10.0" -tracing = "0.1" rustc-hash = "1.1.0" either = "1.6.1" once_cell = "1.7" diff --git a/crates/proc_macro_api/Cargo.toml b/crates/proc_macro_api/Cargo.toml index e59b903bc5..99b9ead0fc 100644 --- a/crates/proc_macro_api/Cargo.toml +++ b/crates/proc_macro_api/Cargo.toml @@ -12,8 +12,6 @@ doctest = false serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0", features = ["unbounded_depth"] } tracing = "0.1" -crossbeam-channel = "0.5.0" -jod-thread = "0.1.1" memmap2 = "0.3.0" snap = "1.0" diff --git a/crates/rust-analyzer/Cargo.toml b/crates/rust-analyzer/Cargo.toml index 30056887f7..a39f57e4bd 100644 --- a/crates/rust-analyzer/Cargo.toml +++ b/crates/rust-analyzer/Cargo.toml @@ -46,7 +46,6 @@ ide_db = { path = "../ide_db", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } project_model = { path = "../project_model", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } -text_edit = { path = "../text_edit", version = "0.0.0" } vfs = { path = "../vfs", version = "0.0.0" } vfs-notify = { path = "../vfs-notify", version = "0.0.0" } cfg = { path = "../cfg", version = "0.0.0" } diff --git a/crates/syntax/Cargo.toml b/crates/syntax/Cargo.toml index 0b2134705b..32c765191c 100644 --- a/crates/syntax/Cargo.toml +++ b/crates/syntax/Cargo.toml @@ -15,7 +15,6 @@ itertools = "0.10.0" rowan = "0.13.0" rustc_lexer = { version = "725.0.0", package = "rustc-ap-rustc_lexer" } rustc-hash = "1.1.0" -arrayvec = "0.7" once_cell = "1.3.1" indexmap = "1.4.0" smol_str = "0.1.15" diff --git a/crates/vfs-notify/Cargo.toml b/crates/vfs-notify/Cargo.toml index ecd589c582..2f0af5e721 100644 --- a/crates/vfs-notify/Cargo.toml +++ b/crates/vfs-notify/Cargo.toml @@ -10,7 +10,6 @@ doctest = false [dependencies] tracing = "0.1" -rustc-hash = "1.0" jod-thread = "0.1.0" walkdir = "2.3.1" crossbeam-channel = "0.5.0"