Skip to content

Commit c85fcd2

Browse files
authored
Merge pull request #19429 from Veykril/push-mnosqlpsysns
chore: Remove unused dependencies
2 parents 3bf18d4 + d412243 commit c85fcd2

File tree

23 files changed

+45
-96
lines changed

23 files changed

+45
-96
lines changed

Cargo.lock

+1-34
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/base-db/Cargo.toml

-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ rust-version.workspace = true
1212
[lib]
1313

1414
[dependencies]
15-
lz4_flex = { version = "0.11", default-features = false }
16-
1715
la-arena.workspace = true
1816
dashmap.workspace = true
1917
salsa.workspace = true
@@ -25,7 +23,6 @@ tracing.workspace = true
2523

2624
# local deps
2725
cfg.workspace = true
28-
stdx.workspace = true
2926
syntax.workspace = true
3027
vfs.workspace = true
3128
span.workspace = true

crates/hir-def/Cargo.toml

-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ rust-version.workspace = true
1515
arrayvec.workspace = true
1616
bitflags.workspace = true
1717
cov-mark = "2.0.0-pre.1"
18-
dashmap.workspace = true
1918
drop_bomb = "0.1.5"
2019
either.workspace = true
2120
fst = { version = "0.4.7", default-features = false }
@@ -25,14 +24,12 @@ la-arena.workspace = true
2524
rustc-hash.workspace = true
2625
tracing.workspace = true
2726
smallvec.workspace = true
28-
hashbrown.workspace = true
2927
triomphe.workspace = true
3028
rustc_apfloat = "0.2.0"
3129
text-size.workspace = true
3230
salsa.workspace = true
3331
query-group.workspace = true
3432

35-
ra-ap-rustc_hashes.workspace = true
3633
ra-ap-rustc_parse_format.workspace = true
3734
ra-ap-rustc_abi.workspace = true
3835

crates/hir-expand/Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ cov-mark = "2.0.0-pre.1"
1616
tracing.workspace = true
1717
either.workspace = true
1818
rustc-hash.workspace = true
19-
la-arena.workspace = true
2019
itertools.workspace = true
21-
hashbrown.workspace = true
2220
smallvec.workspace = true
2321
triomphe.workspace = true
2422
query-group.workspace = true

crates/hir-ty/Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ chalk-recursive.workspace = true
2929
chalk-derive.workspace = true
3030
la-arena.workspace = true
3131
triomphe.workspace = true
32-
nohash-hasher.workspace = true
3332
typed-arena = "2.0.1"
34-
dashmap.workspace = true
3533
indexmap.workspace = true
3634
rustc_apfloat = "0.2.0"
3735
query-group.workspace = true

crates/ide-db/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ rust-version.workspace = true
1515
cov-mark = "2.0.0-pre.1"
1616
crossbeam-channel.workspace = true
1717
tracing.workspace = true
18-
dashmap.workspace = true
1918
rayon.workspace = true
2019
fst = { version = "0.4.7", default-features = false }
2120
rustc-hash.workspace = true

crates/ide-ssr/Cargo.toml

+1-3
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,16 @@ rust-version.workspace = true
1414
[dependencies]
1515
cov-mark = "2.0.0-pre.1"
1616
itertools.workspace = true
17-
triomphe.workspace = true
18-
nohash-hasher.workspace = true
1917

2018
# local deps
2119
hir.workspace = true
2220
ide-db.workspace = true
2321
parser.workspace = true
24-
stdx.workspace = true
2522
syntax.workspace = true
2623

2724
[dev-dependencies]
2825
expect-test = "1.4.0"
26+
triomphe.workspace = true
2927

3028
# local deps
3129
test-utils.workspace = true

crates/load-cargo/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ tracing.workspace = true
2121

2222
hir-expand.workspace = true
2323
ide-db.workspace = true
24-
paths.workspace = true
2524
proc-macro-api.workspace = true
2625
project-model.workspace = true
2726
span.workspace = true

crates/mbe/Cargo.toml

+2-3
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,10 @@ rust-version.workspace = true
1515
cov-mark = "2.0.0-pre.1"
1616
rustc-hash.workspace = true
1717
smallvec.workspace = true
18-
tracing.workspace = true
1918
arrayvec.workspace = true
2019
ra-ap-rustc_lexer.workspace = true
2120

2221
# local deps
23-
syntax.workspace = true
2422
parser.workspace = true
2523
tt.workspace = true
2624
stdx.workspace = true
@@ -31,9 +29,10 @@ syntax-bridge.workspace = true
3129
[dev-dependencies]
3230
test-utils.workspace = true
3331
expect-test.workspace = true
32+
syntax.workspace = true
3433

3534
[features]
36-
in-rust-tree = ["parser/in-rust-tree", "tt/in-rust-tree", "syntax/in-rust-tree"]
35+
in-rust-tree = ["parser/in-rust-tree", "tt/in-rust-tree"]
3736

3837
[lints]
3938
workspace = true

crates/proc-macro-srv-cli/src/main.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//! A standalone binary for `proc-macro-srv`.
22
//! Driver for proc macro server
33
#![cfg_attr(feature = "in-rust-tree", feature(rustc_private))]
4+
#![cfg_attr(not(feature = "sysroot-abi"), allow(unused_crate_dependencies))]
45
#![allow(clippy::print_stderr)]
56

67
#[cfg(feature = "in-rust-tree")]

crates/proc-macro-srv/Cargo.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@ rust-version.workspace = true
1313

1414
[dependencies]
1515
object.workspace = true
16-
libc.workspace = true
1716
libloading.workspace = true
1817
memmap2.workspace = true
1918

20-
stdx.workspace = true
2119
tt.workspace = true
2220
syntax-bridge.workspace = true
2321
paths.workspace = true
@@ -27,6 +25,9 @@ intern.workspace = true
2725

2826
ra-ap-rustc_lexer.workspace = true
2927

28+
[target.'cfg(unix)'.dependencies]
29+
libc.workspace = true
30+
3031
[dev-dependencies]
3132
expect-test.workspace = true
3233

crates/proc-macro-srv/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
//! rustc rather than `unstable`. (Although in general ABI compatibility is still an issue)…
1212
1313
#![cfg(any(feature = "sysroot-abi", rust_analyzer))]
14+
#![cfg_attr(not(feature = "sysroot-abi"), allow(unused_crate_dependencies))]
1415
#![cfg_attr(feature = "in-rust-tree", feature(rustc_private))]
1516
#![feature(proc_macro_internals, proc_macro_diagnostic, proc_macro_span)]
1617
#![allow(unreachable_pub, internal_features, clippy::disallowed_types, clippy::print_stderr)]

crates/profile/Cargo.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ rust-version.workspace = true
1313

1414
[dependencies]
1515
cfg-if = "1.0.0"
16-
libc.workspace = true
1716
jemalloc-ctl = { version = "0.5.0", package = "tikv-jemalloc-ctl", optional = true }
1817

1918
[target.'cfg(all(target_os = "linux", not(target_env = "ohos")))'.dependencies]
2019
perf-event = "=0.4.7"
2120

21+
[target.'cfg(all(target_os = "linux", target_env = "gnu"))'.dependencies]
22+
libc.workspace = true
23+
2224
[target.'cfg(windows)'.dependencies]
2325
windows-sys = { version = "0.59", features = [
2426
"Win32_System_Threading",

crates/query-group-macro/Cargo.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@ rust-version.workspace = true
1313
proc-macro = true
1414

1515
[dependencies]
16-
heck = "0.5.0"
1716
proc-macro2 = "1.0"
1817
quote = "1.0"
1918
syn = { version = "2.0", features = ["full", "extra-traits"] }
20-
salsa.workspace = true
2119

2220
[dev-dependencies]
2321
expect-test = "1.5.0"
22+
salsa.workspace = true

crates/rust-analyzer/Cargo.toml

-3
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ tracing-tree.workspace = true
4747
triomphe.workspace = true
4848
toml = "0.8.8"
4949
nohash-hasher.workspace = true
50-
always-assert = "0.2.0"
5150
walkdir = "2.3.2"
5251
semver.workspace = true
5352
memchr = "2.7.1"
@@ -95,9 +94,7 @@ syntax-bridge.workspace = true
9594
[features]
9695
jemalloc = ["jemallocator", "profile/jemalloc"]
9796
force-always-assert = ["stdx/force-always-assert"]
98-
sysroot-abi = []
9997
in-rust-tree = [
100-
"sysroot-abi",
10198
"syntax/in-rust-tree",
10299
"parser/in-rust-tree",
103100
"hir/in-rust-tree",

0 commit comments

Comments
 (0)