From 33de107ed94100ce61b4d326d6b4bcc22bb44ea8 Mon Sep 17 00:00:00 2001 From: Shotaro Yamada Date: Thu, 27 Feb 2020 13:33:03 +0900 Subject: Remove unused dependencies --- Cargo.lock | 20 -------------------- crates/ra_assists/Cargo.toml | 1 - crates/ra_cargo_watch/Cargo.toml | 3 --- crates/ra_hir_def/Cargo.toml | 1 - crates/ra_ide/Cargo.toml | 3 --- crates/ra_ide_db/Cargo.toml | 12 ------------ crates/ra_prof/Cargo.toml | 1 - crates/ra_text_edit/Cargo.toml | 2 -- crates/rust-analyzer/Cargo.toml | 1 - 9 files changed, 44 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e64c757aa..49fddef4b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -906,7 +906,6 @@ version = "0.1.0" name = "ra_assists" version = "0.1.0" dependencies = [ - "either", "format-buf", "join_to_string", "ra_db", @@ -927,10 +926,8 @@ dependencies = [ "cargo_metadata", "crossbeam-channel", "insta", - "jod-thread", "log", "lsp-types", - "parking_lot", "serde_json", ] @@ -988,7 +985,6 @@ dependencies = [ "drop_bomb", "either", "insta", - "itertools", "log", "once_cell", "ra_arena", @@ -1046,7 +1042,6 @@ version = "0.1.0" dependencies = [ "either", "format-buf", - "fst", "indexmap", "insta", "itertools", @@ -1063,9 +1058,7 @@ dependencies = [ "ra_syntax", "ra_text_edit", "rand", - "rayon", "rustc-hash", - "superslice", "test_utils", ] @@ -1073,18 +1066,9 @@ dependencies = [ name = "ra_ide_db" version = "0.1.0" dependencies = [ - "either", - "format-buf", "fst", - "indexmap", - "insta", - "itertools", - "join_to_string", "log", - "once_cell", - "ra_cfg", "ra_db", - "ra_fmt", "ra_hir", "ra_prof", "ra_syntax", @@ -1092,7 +1076,6 @@ dependencies = [ "rayon", "rustc-hash", "superslice", - "test_utils", ] [[package]] @@ -1120,7 +1103,6 @@ name = "ra_prof" version = "0.1.0" dependencies = [ "backtrace", - "itertools", "jemalloc-ctl", "jemallocator", "once_cell", @@ -1163,7 +1145,6 @@ dependencies = [ name = "ra_text_edit" version = "0.1.0" dependencies = [ - "test_utils", "text_unit", ] @@ -1322,7 +1303,6 @@ version = "0.1.0" dependencies = [ "anyhow", "crossbeam-channel", - "either", "env_logger", "globset", "itertools", diff --git a/crates/ra_assists/Cargo.toml b/crates/ra_assists/Cargo.toml index 12a933645..d314dc8e6 100644 --- a/crates/ra_assists/Cargo.toml +++ b/crates/ra_assists/Cargo.toml @@ -11,7 +11,6 @@ doctest = false format-buf = "1.0.0" join_to_string = "0.1.3" rustc-hash = "1.1.0" -either = "1.5.3" ra_syntax = { path = "../ra_syntax" } ra_text_edit = { path = "../ra_text_edit" } diff --git a/crates/ra_cargo_watch/Cargo.toml b/crates/ra_cargo_watch/Cargo.toml index 989ccc097..1fdbffea1 100644 --- a/crates/ra_cargo_watch/Cargo.toml +++ b/crates/ra_cargo_watch/Cargo.toml @@ -9,10 +9,7 @@ crossbeam-channel = "0.4.0" lsp-types = { version = "0.71.0", features = ["proposed"] } log = "0.4.8" cargo_metadata = "0.9.1" -jod-thread = "0.1.0" -parking_lot = "0.10.0" serde_json = "1.0.48" [dev-dependencies] insta = "0.13.1" -serde_json = "1.0.48" diff --git a/crates/ra_hir_def/Cargo.toml b/crates/ra_hir_def/Cargo.toml index 5053d0688..fa25cc4fb 100644 --- a/crates/ra_hir_def/Cargo.toml +++ b/crates/ra_hir_def/Cargo.toml @@ -14,7 +14,6 @@ rustc-hash = "1.1.0" either = "1.5.3" anymap = "0.12.1" drop_bomb = "0.1.4" -itertools = "0.8.2" ra_arena = { path = "../ra_arena" } ra_db = { path = "../ra_db" } diff --git a/crates/ra_ide/Cargo.toml b/crates/ra_ide/Cargo.toml index 6a3112f9c..7625fc8c8 100644 --- a/crates/ra_ide/Cargo.toml +++ b/crates/ra_ide/Cargo.toml @@ -17,10 +17,7 @@ indexmap = "1.3.2" itertools = "0.8.2" join_to_string = "0.1.3" log = "0.4.8" -rayon = "1.3.0" -fst = { version = "0.3.5", default-features = false } rustc-hash = "1.1.0" -superslice = "1.0.0" rand = { version = "0.7.3", features = ["small_rng"] } once_cell = "1.3.1" diff --git a/crates/ra_ide_db/Cargo.toml b/crates/ra_ide_db/Cargo.toml index 2f5b74b92..7b285d280 100644 --- a/crates/ra_ide_db/Cargo.toml +++ b/crates/ra_ide_db/Cargo.toml @@ -11,29 +11,17 @@ doctest = false wasm = [] [dependencies] -either = "1.5.3" -format-buf = "1.0.0" -indexmap = "1.3.2" -itertools = "0.8.2" -join_to_string = "0.1.3" log = "0.4.8" rayon = "1.3.0" fst = { version = "0.3.5", default-features = false } rustc-hash = "1.1.0" superslice = "1.0.0" -once_cell = "1.3.1" ra_syntax = { path = "../ra_syntax" } ra_text_edit = { path = "../ra_text_edit" } ra_db = { path = "../ra_db" } -ra_cfg = { path = "../ra_cfg" } -ra_fmt = { path = "../ra_fmt" } ra_prof = { path = "../ra_prof" } -test_utils = { path = "../test_utils" } # ra_ide should depend only on the top-level `hir` package. if you need # something from some `hir_xxx` subpackage, reexport the API via `hir`. hir = { path = "../ra_hir", package = "ra_hir" } - -[dev-dependencies] -insta = "0.13.1" diff --git a/crates/ra_prof/Cargo.toml b/crates/ra_prof/Cargo.toml index 823745795..d15b08992 100644 --- a/crates/ra_prof/Cargo.toml +++ b/crates/ra_prof/Cargo.toml @@ -10,7 +10,6 @@ doctest = false [dependencies] once_cell = "1.3.1" -itertools = "0.8.2" backtrace = { version = "0.3.44", optional = true } [target.'cfg(not(target_env = "msvc"))'.dependencies] diff --git a/crates/ra_text_edit/Cargo.toml b/crates/ra_text_edit/Cargo.toml index 97280f866..cae28389d 100644 --- a/crates/ra_text_edit/Cargo.toml +++ b/crates/ra_text_edit/Cargo.toml @@ -11,5 +11,3 @@ doctest = false [dependencies] text_unit = "0.1.10" -[dev-dependencies] -test_utils = { path = "../test_utils" } diff --git a/crates/rust-analyzer/Cargo.toml b/crates/rust-analyzer/Cargo.toml index 2cd39b7be..d00545121 100644 --- a/crates/rust-analyzer/Cargo.toml +++ b/crates/rust-analyzer/Cargo.toml @@ -15,7 +15,6 @@ path = "./src/bin/main.rs" [dependencies] anyhow = "1.0.26" crossbeam-channel = "0.4.0" -either = "1.5.3" env_logger = { version = "0.7.1", default-features = false } globset = "0.4.4" itertools = "0.8.2" -- cgit v1.2.3