mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
Use dep: for crate dependencies
This commit is contained in:
parent
88fa119c77
commit
247ad3385c
@ -27,7 +27,7 @@ features = ['unprefixed_malloc_on_supported_platforms']
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
# tidy-alphabetical-start
|
# tidy-alphabetical-start
|
||||||
jemalloc = ['jemalloc-sys']
|
jemalloc = ['dep:jemalloc-sys']
|
||||||
llvm = ['rustc_driver_impl/llvm']
|
llvm = ['rustc_driver_impl/llvm']
|
||||||
max_level_info = ['rustc_driver_impl/max_level_info']
|
max_level_info = ['rustc_driver_impl/max_level_info']
|
||||||
rustc_use_parallel_compiler = ['rustc_driver_impl/rustc_use_parallel_compiler']
|
rustc_use_parallel_compiler = ['rustc_driver_impl/rustc_use_parallel_compiler']
|
||||||
|
@ -21,10 +21,10 @@ default = ["nightly", "randomize"]
|
|||||||
# rust-analyzer depends on this crate and we therefore require it to built on a stable toolchain
|
# rust-analyzer depends on this crate and we therefore require it to built on a stable toolchain
|
||||||
# without depending on rustc_data_structures, rustc_macros and rustc_serialize
|
# without depending on rustc_data_structures, rustc_macros and rustc_serialize
|
||||||
nightly = [
|
nightly = [
|
||||||
"rustc_data_structures",
|
"dep:rustc_data_structures",
|
||||||
|
"dep:rustc_macros",
|
||||||
|
"dep:rustc_serialize",
|
||||||
"rustc_index/nightly",
|
"rustc_index/nightly",
|
||||||
"rustc_macros",
|
|
||||||
"rustc_serialize",
|
|
||||||
]
|
]
|
||||||
randomize = ["rand", "rand_xoshiro", "nightly"]
|
randomize = ["dep:rand", "dep:rand_xoshiro", "nightly"]
|
||||||
# tidy-alphabetical-end
|
# tidy-alphabetical-end
|
||||||
|
@ -14,8 +14,8 @@ rustc_span = { path = "../rustc_span", optional = true }
|
|||||||
[features]
|
[features]
|
||||||
default = ["nightly"]
|
default = ["nightly"]
|
||||||
nightly = [
|
nightly = [
|
||||||
"rustc_serialize",
|
"dep:rustc_serialize",
|
||||||
"rustc_data_structures",
|
"dep:rustc_data_structures",
|
||||||
"rustc_macros",
|
"dep:rustc_macros",
|
||||||
"rustc_span",
|
"dep:rustc_span",
|
||||||
]
|
]
|
||||||
|
@ -56,5 +56,5 @@ portable-atomic = "1.5.1"
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
# tidy-alphabetical-start
|
# tidy-alphabetical-start
|
||||||
rustc_use_parallel_compiler = ["indexmap/rustc-rayon", "rustc-rayon"]
|
rustc_use_parallel_compiler = ["indexmap/rustc-rayon", "dep:rustc-rayon"]
|
||||||
# tidy-alphabetical-end
|
# tidy-alphabetical-end
|
||||||
|
@ -15,5 +15,9 @@ smallvec = "1.8.1"
|
|||||||
[features]
|
[features]
|
||||||
# tidy-alphabetical-start
|
# tidy-alphabetical-start
|
||||||
default = ["nightly"]
|
default = ["nightly"]
|
||||||
nightly = ["rustc_serialize", "rustc_macros", "rustc_index_macros/nightly"]
|
nightly = [
|
||||||
|
"dep:rustc_serialize",
|
||||||
|
"dep:rustc_macros",
|
||||||
|
"rustc_index_macros/nightly",
|
||||||
|
]
|
||||||
# tidy-alphabetical-end
|
# tidy-alphabetical-end
|
||||||
|
@ -53,6 +53,11 @@ tracing = "0.1"
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
# tidy-alphabetical-start
|
# tidy-alphabetical-start
|
||||||
llvm = ['rustc_codegen_llvm']
|
llvm = ['dep:rustc_codegen_llvm']
|
||||||
rustc_use_parallel_compiler = ['rustc-rayon', 'rustc-rayon-core', 'rustc_query_impl/rustc_use_parallel_compiler', 'rustc_errors/rustc_use_parallel_compiler']
|
rustc_use_parallel_compiler = [
|
||||||
|
'dep:rustc-rayon',
|
||||||
|
'dep:rustc-rayon-core',
|
||||||
|
'rustc_query_impl/rustc_use_parallel_compiler',
|
||||||
|
'rustc_errors/rustc_use_parallel_compiler'
|
||||||
|
]
|
||||||
# tidy-alphabetical-end
|
# tidy-alphabetical-end
|
||||||
|
@ -40,5 +40,5 @@ tracing = "0.1"
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
# tidy-alphabetical-start
|
# tidy-alphabetical-start
|
||||||
rustc_use_parallel_compiler = ["rustc-rayon-core"]
|
rustc_use_parallel_compiler = ["dep:rustc-rayon-core"]
|
||||||
# tidy-alphabetical-end
|
# tidy-alphabetical-end
|
||||||
|
@ -20,10 +20,10 @@ tracing = "0.1"
|
|||||||
[features]
|
[features]
|
||||||
default = ["nightly"]
|
default = ["nightly"]
|
||||||
nightly = [
|
nightly = [
|
||||||
|
"dep:rustc_data_structures",
|
||||||
|
"dep:rustc_macros",
|
||||||
|
"dep:rustc_serialize",
|
||||||
"rustc_ast_ir/nightly",
|
"rustc_ast_ir/nightly",
|
||||||
"rustc_data_structures",
|
|
||||||
"rustc_index/nightly",
|
"rustc_index/nightly",
|
||||||
"rustc_macros",
|
|
||||||
"rustc_serialize",
|
|
||||||
"rustc_type_ir/nightly",
|
"rustc_type_ir/nightly",
|
||||||
]
|
]
|
||||||
|
@ -26,5 +26,5 @@ tracing = "0.1"
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
# tidy-alphabetical-start
|
# tidy-alphabetical-start
|
||||||
rustc_use_parallel_compiler = ["rustc-rayon-core"]
|
rustc_use_parallel_compiler = ["dep:rustc-rayon-core"]
|
||||||
# tidy-alphabetical-end
|
# tidy-alphabetical-end
|
||||||
|
@ -18,13 +18,13 @@ tracing = "0.1"
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
rustc = [
|
rustc = [
|
||||||
"rustc_hir",
|
"dep:rustc_hir",
|
||||||
"rustc_infer",
|
"dep:rustc_infer",
|
||||||
"rustc_macros",
|
"dep:rustc_macros",
|
||||||
"rustc_middle",
|
"dep:rustc_middle",
|
||||||
"rustc_span",
|
"dep:rustc_span",
|
||||||
"rustc_target",
|
"dep:rustc_target",
|
||||||
"rustc_ast_ir",
|
"dep:rustc_ast_ir",
|
||||||
]
|
]
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
@ -22,12 +22,12 @@ tracing = "0.1"
|
|||||||
[features]
|
[features]
|
||||||
default = ["nightly"]
|
default = ["nightly"]
|
||||||
nightly = [
|
nightly = [
|
||||||
|
"dep:rustc_serialize",
|
||||||
|
"dep:rustc_span",
|
||||||
|
"dep:rustc_data_structures",
|
||||||
|
"dep:rustc_macros",
|
||||||
"smallvec/may_dangle",
|
"smallvec/may_dangle",
|
||||||
"smallvec/union",
|
"smallvec/union",
|
||||||
"rustc_index/nightly",
|
"rustc_index/nightly",
|
||||||
"rustc_serialize",
|
|
||||||
"rustc_span",
|
|
||||||
"rustc_data_structures",
|
|
||||||
"rustc_macros",
|
|
||||||
"rustc_ast_ir/nightly"
|
"rustc_ast_ir/nightly"
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user