Remove some unused crate dependencies.
I found these by setting the `unused_crate_dependencies` lint temporarily to `Warn`.
This commit is contained in:
parent
a70b2ae577
commit
29629d0075
19
Cargo.lock
19
Cargo.lock
@ -3627,7 +3627,6 @@ dependencies = [
|
|||||||
"rustc_macros",
|
"rustc_macros",
|
||||||
"rustc_serialize",
|
"rustc_serialize",
|
||||||
"rustc_span",
|
"rustc_span",
|
||||||
"smallvec",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@ -3708,7 +3707,6 @@ dependencies = [
|
|||||||
"icu_locid",
|
"icu_locid",
|
||||||
"icu_locid_transform",
|
"icu_locid_transform",
|
||||||
"icu_provider",
|
"icu_provider",
|
||||||
"icu_provider_adapters",
|
|
||||||
"zerovec",
|
"zerovec",
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -3889,7 +3887,6 @@ dependencies = [
|
|||||||
"portable-atomic",
|
"portable-atomic",
|
||||||
"rustc-hash",
|
"rustc-hash",
|
||||||
"rustc-rayon",
|
"rustc-rayon",
|
||||||
"rustc-rayon-core",
|
|
||||||
"rustc_arena",
|
"rustc_arena",
|
||||||
"rustc_graphviz",
|
"rustc_graphviz",
|
||||||
"rustc_index",
|
"rustc_index",
|
||||||
@ -3930,7 +3927,6 @@ dependencies = [
|
|||||||
"rustc_expand",
|
"rustc_expand",
|
||||||
"rustc_feature",
|
"rustc_feature",
|
||||||
"rustc_fluent_macro",
|
"rustc_fluent_macro",
|
||||||
"rustc_hir",
|
|
||||||
"rustc_hir_analysis",
|
"rustc_hir_analysis",
|
||||||
"rustc_hir_pretty",
|
"rustc_hir_pretty",
|
||||||
"rustc_hir_typeck",
|
"rustc_hir_typeck",
|
||||||
@ -4193,7 +4189,6 @@ dependencies = [
|
|||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
"quote",
|
"quote",
|
||||||
"syn 2.0.66",
|
"syn 2.0.66",
|
||||||
"synstructure",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@ -4385,7 +4380,6 @@ dependencies = [
|
|||||||
"field-offset",
|
"field-offset",
|
||||||
"gsgdt",
|
"gsgdt",
|
||||||
"polonius-engine",
|
"polonius-engine",
|
||||||
"rustc-rayon",
|
|
||||||
"rustc-rayon-core",
|
"rustc-rayon-core",
|
||||||
"rustc_apfloat",
|
"rustc_apfloat",
|
||||||
"rustc_arena",
|
"rustc_arena",
|
||||||
@ -4417,7 +4411,6 @@ dependencies = [
|
|||||||
name = "rustc_mir_build"
|
name = "rustc_mir_build"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"either",
|
|
||||||
"itertools 0.12.1",
|
"itertools 0.12.1",
|
||||||
"rustc_apfloat",
|
"rustc_apfloat",
|
||||||
"rustc_arena",
|
"rustc_arena",
|
||||||
@ -4436,7 +4429,6 @@ dependencies = [
|
|||||||
"rustc_span",
|
"rustc_span",
|
||||||
"rustc_target",
|
"rustc_target",
|
||||||
"rustc_trait_selection",
|
"rustc_trait_selection",
|
||||||
"smallvec",
|
|
||||||
"tracing",
|
"tracing",
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -4511,14 +4503,7 @@ dependencies = [
|
|||||||
name = "rustc_next_trait_solver"
|
name = "rustc_next_trait_solver"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"derivative",
|
|
||||||
"rustc_ast_ir",
|
|
||||||
"rustc_data_structures",
|
|
||||||
"rustc_macros",
|
|
||||||
"rustc_serialize",
|
|
||||||
"rustc_type_ir",
|
"rustc_type_ir",
|
||||||
"rustc_type_ir_macros",
|
|
||||||
"tracing",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@ -4623,7 +4608,6 @@ version = "0.0.0"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"field-offset",
|
"field-offset",
|
||||||
"measureme",
|
"measureme",
|
||||||
"rustc-rayon-core",
|
|
||||||
"rustc_data_structures",
|
"rustc_data_structures",
|
||||||
"rustc_errors",
|
"rustc_errors",
|
||||||
"rustc_hir",
|
"rustc_hir",
|
||||||
@ -5329,7 +5313,6 @@ name = "stable_mir"
|
|||||||
version = "0.1.0-preview"
|
version = "0.1.0-preview"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"scoped-tls",
|
"scoped-tls",
|
||||||
"tracing",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@ -5625,8 +5608,6 @@ dependencies = [
|
|||||||
"core",
|
"core",
|
||||||
"getopts",
|
"getopts",
|
||||||
"libc",
|
"libc",
|
||||||
"panic_abort",
|
|
||||||
"panic_unwind",
|
|
||||||
"std",
|
"std",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -9,7 +9,6 @@ rustc_data_structures = { path = "../rustc_data_structures", optional = true }
|
|||||||
rustc_macros = { path = "../rustc_macros", optional = true }
|
rustc_macros = { path = "../rustc_macros", optional = true }
|
||||||
rustc_serialize = { path = "../rustc_serialize", optional = true }
|
rustc_serialize = { path = "../rustc_serialize", optional = true }
|
||||||
rustc_span = { path = "../rustc_span", optional = true }
|
rustc_span = { path = "../rustc_span", optional = true }
|
||||||
smallvec = { version = "1.8.1" }
|
|
||||||
# tidy-alphabetical-end
|
# tidy-alphabetical-end
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
@ -9,7 +9,6 @@ icu_list = "1.2"
|
|||||||
icu_locid = "1.2"
|
icu_locid = "1.2"
|
||||||
icu_locid_transform = "1.3.2"
|
icu_locid_transform = "1.3.2"
|
||||||
icu_provider = "1.2"
|
icu_provider = "1.2"
|
||||||
icu_provider_adapters = "1.2"
|
|
||||||
zerovec = "0.10.0"
|
zerovec = "0.10.0"
|
||||||
# tidy-alphabetical-end
|
# tidy-alphabetical-end
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@ libc = "0.2"
|
|||||||
measureme = "11"
|
measureme = "11"
|
||||||
rustc-hash = "1.1.0"
|
rustc-hash = "1.1.0"
|
||||||
rustc-rayon = { version = "0.5.0", optional = true }
|
rustc-rayon = { version = "0.5.0", optional = true }
|
||||||
rustc-rayon-core = { version = "0.5.0", optional = true }
|
|
||||||
rustc_arena = { path = "../rustc_arena" }
|
rustc_arena = { path = "../rustc_arena" }
|
||||||
rustc_graphviz = { path = "../rustc_graphviz" }
|
rustc_graphviz = { path = "../rustc_graphviz" }
|
||||||
rustc_index = { path = "../rustc_index", package = "rustc_index" }
|
rustc_index = { path = "../rustc_index", package = "rustc_index" }
|
||||||
@ -52,5 +51,5 @@ portable-atomic = "1.5.1"
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
# tidy-alphabetical-start
|
# tidy-alphabetical-start
|
||||||
rustc_use_parallel_compiler = ["indexmap/rustc-rayon", "rustc-rayon", "rustc-rayon-core"]
|
rustc_use_parallel_compiler = ["indexmap/rustc-rayon", "rustc-rayon"]
|
||||||
# tidy-alphabetical-end
|
# tidy-alphabetical-end
|
||||||
|
@ -19,7 +19,6 @@ rustc_errors = { path = "../rustc_errors" }
|
|||||||
rustc_expand = { path = "../rustc_expand" }
|
rustc_expand = { path = "../rustc_expand" }
|
||||||
rustc_feature = { path = "../rustc_feature" }
|
rustc_feature = { path = "../rustc_feature" }
|
||||||
rustc_fluent_macro = { path = "../rustc_fluent_macro" }
|
rustc_fluent_macro = { path = "../rustc_fluent_macro" }
|
||||||
rustc_hir = { path = "../rustc_hir" }
|
|
||||||
rustc_hir_analysis = { path = "../rustc_hir_analysis" }
|
rustc_hir_analysis = { path = "../rustc_hir_analysis" }
|
||||||
rustc_hir_pretty = { path = "../rustc_hir_pretty" }
|
rustc_hir_pretty = { path = "../rustc_hir_pretty" }
|
||||||
rustc_hir_typeck = { path = "../rustc_hir_typeck" }
|
rustc_hir_typeck = { path = "../rustc_hir_typeck" }
|
||||||
|
@ -7,11 +7,10 @@ edition = "2021"
|
|||||||
proc-macro = true
|
proc-macro = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
synstructure = "0.13.0"
|
|
||||||
syn = { version = "2.0.9", features = ["full"] }
|
syn = { version = "2.0.9", features = ["full"] }
|
||||||
proc-macro2 = "1"
|
proc-macro2 = "1"
|
||||||
quote = "1"
|
quote = "1"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["nightly"]
|
default = ["nightly"]
|
||||||
nightly = []
|
nightly = []
|
||||||
|
@ -11,7 +11,6 @@ either = "1.5.0"
|
|||||||
field-offset = "0.3.5"
|
field-offset = "0.3.5"
|
||||||
gsgdt = "0.1.2"
|
gsgdt = "0.1.2"
|
||||||
polonius-engine = "0.13.0"
|
polonius-engine = "0.13.0"
|
||||||
rustc-rayon = { version = "0.5.0", optional = true }
|
|
||||||
rustc-rayon-core = { version = "0.5.0", optional = true }
|
rustc-rayon-core = { version = "0.5.0", optional = true }
|
||||||
rustc_apfloat = "0.2.0"
|
rustc_apfloat = "0.2.0"
|
||||||
rustc_arena = { path = "../rustc_arena" }
|
rustc_arena = { path = "../rustc_arena" }
|
||||||
@ -41,5 +40,5 @@ tracing = "0.1"
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
# tidy-alphabetical-start
|
# tidy-alphabetical-start
|
||||||
rustc_use_parallel_compiler = ["rustc-rayon", "rustc-rayon-core"]
|
rustc_use_parallel_compiler = ["rustc-rayon-core"]
|
||||||
# tidy-alphabetical-end
|
# tidy-alphabetical-end
|
||||||
|
@ -5,7 +5,6 @@ edition = "2021"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# tidy-alphabetical-start
|
# tidy-alphabetical-start
|
||||||
either = "1"
|
|
||||||
itertools = "0.12"
|
itertools = "0.12"
|
||||||
rustc_apfloat = "0.2.0"
|
rustc_apfloat = "0.2.0"
|
||||||
rustc_arena = { path = "../rustc_arena" }
|
rustc_arena = { path = "../rustc_arena" }
|
||||||
@ -24,6 +23,5 @@ rustc_session = { path = "../rustc_session" }
|
|||||||
rustc_span = { path = "../rustc_span" }
|
rustc_span = { path = "../rustc_span" }
|
||||||
rustc_target = { path = "../rustc_target" }
|
rustc_target = { path = "../rustc_target" }
|
||||||
rustc_trait_selection = { path = "../rustc_trait_selection" }
|
rustc_trait_selection = { path = "../rustc_trait_selection" }
|
||||||
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
|
|
||||||
tracing = "0.1"
|
tracing = "0.1"
|
||||||
# tidy-alphabetical-end
|
# tidy-alphabetical-end
|
||||||
|
@ -5,22 +5,9 @@ edition = "2021"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# tidy-alphabetical-start
|
# tidy-alphabetical-start
|
||||||
derivative = "2.2.0"
|
|
||||||
rustc_ast_ir = { path = "../rustc_ast_ir", default-features = false }
|
|
||||||
rustc_data_structures = { path = "../rustc_data_structures", optional = true }
|
|
||||||
rustc_macros = { path = "../rustc_macros", optional = true }
|
|
||||||
rustc_serialize = { path = "../rustc_serialize", optional = true }
|
|
||||||
rustc_type_ir = { path = "../rustc_type_ir", default-features = false }
|
rustc_type_ir = { path = "../rustc_type_ir", default-features = false }
|
||||||
rustc_type_ir_macros = { path = "../rustc_type_ir_macros" }
|
|
||||||
tracing = "0.1"
|
|
||||||
# tidy-alphabetical-end
|
# tidy-alphabetical-end
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["nightly"]
|
default = ["nightly"]
|
||||||
nightly = [
|
nightly = ["rustc_type_ir/nightly"]
|
||||||
"rustc_type_ir/nightly",
|
|
||||||
"rustc_macros",
|
|
||||||
"rustc_serialize",
|
|
||||||
"rustc_data_structures",
|
|
||||||
"rustc_ast_ir/nightly",
|
|
||||||
]
|
|
||||||
|
@ -7,7 +7,6 @@ edition = "2021"
|
|||||||
# tidy-alphabetical-start
|
# tidy-alphabetical-start
|
||||||
field-offset = "0.3.5"
|
field-offset = "0.3.5"
|
||||||
measureme = "11"
|
measureme = "11"
|
||||||
rustc-rayon-core = { version = "0.5.0", optional = true }
|
|
||||||
rustc_data_structures = { path = "../rustc_data_structures" }
|
rustc_data_structures = { path = "../rustc_data_structures" }
|
||||||
rustc_errors = { path = "../rustc_errors" }
|
rustc_errors = { path = "../rustc_errors" }
|
||||||
rustc_hir = { path = "../rustc_hir" }
|
rustc_hir = { path = "../rustc_hir" }
|
||||||
@ -23,5 +22,5 @@ tracing = "0.1"
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
# tidy-alphabetical-start
|
# tidy-alphabetical-start
|
||||||
rustc_use_parallel_compiler = ["rustc-rayon-core", "rustc_query_system/rustc_use_parallel_compiler"]
|
rustc_use_parallel_compiler = ["rustc_query_system/rustc_use_parallel_compiler"]
|
||||||
# tidy-alphabetical-end
|
# tidy-alphabetical-end
|
||||||
|
@ -4,5 +4,4 @@ version = "0.1.0-preview"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tracing = "0.1"
|
|
||||||
scoped-tls = "1.0"
|
scoped-tls = "1.0"
|
||||||
|
@ -7,8 +7,6 @@ edition = "2021"
|
|||||||
getopts = { version = "0.2.21", features = ['rustc-dep-of-std'] }
|
getopts = { version = "0.2.21", features = ['rustc-dep-of-std'] }
|
||||||
std = { path = "../std" }
|
std = { path = "../std" }
|
||||||
core = { path = "../core" }
|
core = { path = "../core" }
|
||||||
panic_unwind = { path = "../panic_unwind" }
|
|
||||||
panic_abort = { path = "../panic_abort" }
|
|
||||||
|
|
||||||
[target.'cfg(not(all(windows, target_env = "msvc")))'.dependencies]
|
[target.'cfg(not(all(windows, target_env = "msvc")))'.dependencies]
|
||||||
libc = { version = "0.2.150", default-features = false }
|
libc = { version = "0.2.150", default-features = false }
|
||||||
|
Loading…
Reference in New Issue
Block a user