From a426de60ad2b4e7041f8fd8ff97b10f97d8bbfd1 Mon Sep 17 00:00:00 2001 From: Shotaro Yamada Date: Tue, 9 Jul 2019 00:28:00 +0900 Subject: Remove unused dependencies --- Cargo.lock | 17 ----------------- crates/ra_batch/Cargo.toml | 4 ---- crates/ra_cli/Cargo.toml | 1 - crates/ra_db/Cargo.toml | 2 -- crates/ra_hir/Cargo.toml | 2 -- crates/ra_lsp_server/Cargo.toml | 1 - crates/ra_project_model/Cargo.toml | 5 ----- crates/ra_syntax/Cargo.toml | 3 --- crates/test_utils/Cargo.toml | 1 - 9 files changed, 36 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3049ab3d9..e42a564db 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1096,10 +1096,8 @@ dependencies = [ "ra_hir 0.1.0", "ra_ide_api 0.1.0", "ra_project_model 0.1.0", - "ra_syntax 0.1.0", "ra_vfs 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", - "test_utils 0.1.0", ] [[package]] @@ -1109,7 +1107,6 @@ dependencies = [ "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)", "flexi_logger 0.13.2 (registry+https://github.com/rust-lang/crates.io-index)", "indicatif 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", - "join_to_string 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "ra_batch 0.1.0", "ra_db 0.1.0", "ra_hir 0.1.0", @@ -1122,13 +1119,11 @@ dependencies = [ name = "ra_db" version = "0.1.0" dependencies = [ - "ra_arena 0.1.0", "ra_prof 0.1.0", "ra_syntax 0.1.0", "relative-path 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "salsa 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)", - "test_utils 0.1.0", ] [[package]] @@ -1148,9 +1143,7 @@ dependencies = [ "chalk-rust-ir 0.1.0 (git+https://github.com/flodiebold/chalk.git?branch=fuel)", "chalk-solve 0.1.0 (git+https://github.com/flodiebold/chalk.git?branch=fuel)", "ena 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", - "flexi_logger 0.13.2 (registry+https://github.com/rust-lang/crates.io-index)", "insta 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", - "join_to_string 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "lalrpop-intern 0.15.1 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "once_cell 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1202,7 +1195,6 @@ dependencies = [ "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "lsp-types 0.59.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", - "ra_arena 0.1.0", "ra_ide_api 0.1.0", "ra_prof 0.1.0", "ra_project_model 0.1.0", @@ -1264,23 +1256,18 @@ dependencies = [ "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.94 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)", - "test_utils 0.1.0", - "walkdir 2.2.8 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "ra_syntax" version = "0.1.0" dependencies = [ - "arrayvec 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", - "drop_bomb 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "ra_parser 0.1.0", "ra_text_edit 0.1.0", "rowan 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", "smol_str 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", "test_utils 0.1.0", - "text_unit 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "walkdir 2.2.8 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1842,7 +1829,6 @@ name = "test_utils" version = "0.1.0" dependencies = [ "difference 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)", "text_unit 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1851,9 +1837,6 @@ dependencies = [ name = "text_unit" version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "serde 1.0.94 (registry+https://github.com/rust-lang/crates.io-index)", -] [[package]] name = "textwrap" diff --git a/crates/ra_batch/Cargo.toml b/crates/ra_batch/Cargo.toml index 7d8837fc3..0ee94c445 100644 --- a/crates/ra_batch/Cargo.toml +++ b/crates/ra_batch/Cargo.toml @@ -9,11 +9,7 @@ log = "0.4.5" rustc-hash = "1.0" ra_vfs = "0.2.0" -ra_syntax = { path = "../ra_syntax" } ra_db = { path = "../ra_db" } ra_ide_api = { path = "../ra_ide_api" } ra_hir = { path = "../ra_hir" } ra_project_model = { path = "../ra_project_model" } - -[dev-dependencies] -test_utils = { path = "../test_utils" } diff --git a/crates/ra_cli/Cargo.toml b/crates/ra_cli/Cargo.toml index 639b7c949..4d9c41ae9 100644 --- a/crates/ra_cli/Cargo.toml +++ b/crates/ra_cli/Cargo.toml @@ -7,7 +7,6 @@ publish = false [dependencies] clap = "2.32.0" -join_to_string = "0.1.1" flexi_logger = "0.13.0" indicatif = "0.11.0" diff --git a/crates/ra_db/Cargo.toml b/crates/ra_db/Cargo.toml index f73dd739a..7a13c247b 100644 --- a/crates/ra_db/Cargo.toml +++ b/crates/ra_db/Cargo.toml @@ -9,7 +9,5 @@ salsa = "0.12.3" relative-path = "0.4.0" rustc-hash = "1.0" -ra_arena = { path = "../ra_arena" } ra_syntax = { path = "../ra_syntax" } ra_prof = { path = "../ra_prof" } -test_utils = { path = "../test_utils" } diff --git a/crates/ra_hir/Cargo.toml b/crates/ra_hir/Cargo.toml index e44e144d6..de2c2dbec 100644 --- a/crates/ra_hir/Cargo.toml +++ b/crates/ra_hir/Cargo.toml @@ -11,7 +11,6 @@ relative-path = "0.4.0" rustc-hash = "1.0" parking_lot = "0.8.0" ena = "0.13" -join_to_string = "0.1.3" once_cell = "0.2" ra_syntax = { path = "../ra_syntax" } @@ -28,5 +27,4 @@ chalk-ir = { git = "https://github.com/flodiebold/chalk.git", branch = "fuel" } lalrpop-intern = "0.15.1" [dev-dependencies] -flexi_logger = "0.13.0" insta = "0.8.1" diff --git a/crates/ra_lsp_server/Cargo.toml b/crates/ra_lsp_server/Cargo.toml index 50bc8111b..753710931 100644 --- a/crates/ra_lsp_server/Cargo.toml +++ b/crates/ra_lsp_server/Cargo.toml @@ -22,7 +22,6 @@ thread_worker = { path = "../thread_worker" } ra_syntax = { path = "../ra_syntax" } ra_text_edit = { path = "../ra_text_edit" } ra_ide_api = { path = "../ra_ide_api" } -ra_arena = { path = "../ra_arena" } gen_lsp_server = { path = "../gen_lsp_server" } ra_project_model = { path = "../ra_project_model" } ra_prof = { path = "../ra_prof" } diff --git a/crates/ra_project_model/Cargo.toml b/crates/ra_project_model/Cargo.toml index a1f7bf6dc..3545d23c9 100644 --- a/crates/ra_project_model/Cargo.toml +++ b/crates/ra_project_model/Cargo.toml @@ -9,8 +9,6 @@ log = "0.4.5" rustc-hash = "1.0" relative-path = "0.4.0" -walkdir = "2.2.7" - cargo_metadata = "0.8.0" ra_arena = { path = "../ra_arena" } @@ -18,6 +16,3 @@ ra_db = { path = "../ra_db" } serde = { version = "1.0.89", features = ["derive"] } serde_json = "1.0.39" - -[dev-dependencies] -test_utils = { path = "../test_utils" } diff --git a/crates/ra_syntax/Cargo.toml b/crates/ra_syntax/Cargo.toml index 156991358..37a91ea35 100644 --- a/crates/ra_syntax/Cargo.toml +++ b/crates/ra_syntax/Cargo.toml @@ -8,15 +8,12 @@ description = "Comment and whitespace preserving parser for the Rust langauge" repository = "https://github.com/rust-analyzer/rust-analyzer" [dependencies] -arrayvec = "0.4.10" unicode-xid = "0.1.0" itertools = "0.8.0" -drop_bomb = "0.1.4" rowan = "0.5.0" # ideally, `serde` should be enabled by `ra_lsp_server`, but we enable it here # to reduce number of compilations -text_unit = { version = "0.1.8", features = ["serde"] } smol_str = { version = "0.1.12", features = ["serde"] } ra_text_edit = { path = "../ra_text_edit" } diff --git a/crates/test_utils/Cargo.toml b/crates/test_utils/Cargo.toml index b58dbd1cf..0be9c3665 100644 --- a/crates/test_utils/Cargo.toml +++ b/crates/test_utils/Cargo.toml @@ -6,6 +6,5 @@ authors = ["rust-analyzer developers"] [dependencies] difference = "2.0.0" -itertools = "0.8.0" text_unit = "0.1.2" serde_json = "1.0.34" -- cgit v1.2.3