mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-26 13:01:27 +03:00
Tidy up Cargo.toml files.
- Add some missing `tidy-alphabetical-*` markers. - Remove some unnecessary blank lines.
This commit is contained in:
@@ -12,10 +12,12 @@ rustc_span = { path = "../rustc_span", optional = true }
|
||||
# tidy-alphabetical-end
|
||||
|
||||
[features]
|
||||
# tidy-alphabetical-start
|
||||
default = ["nightly"]
|
||||
nightly = [
|
||||
"dep:rustc_serialize",
|
||||
"dep:rustc_span",
|
||||
"dep:rustc_data_structures",
|
||||
"dep:rustc_macros",
|
||||
"dep:rustc_serialize",
|
||||
"dep:rustc_span",
|
||||
]
|
||||
# tidy-alphabetical-end
|
||||
|
||||
@@ -45,4 +45,7 @@ tracing = "0.1"
|
||||
# tidy-alphabetical-end
|
||||
|
||||
[features]
|
||||
# tidy-alphabetical-start
|
||||
check_only = ["rustc_llvm/check_only"]
|
||||
# tidy-alphabetical-end
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@ version = "0.0.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
jiff = { version = "0.2.5", default-features = false, features = ["std"] }
|
||||
# tidy-alphabetical-start
|
||||
jiff = { version = "0.2.5", default-features = false, features = ["std"] }
|
||||
rustc_abi = { path = "../rustc_abi" }
|
||||
rustc_ast = { path = "../rustc_ast" }
|
||||
rustc_ast_lowering = { path = "../rustc_ast_lowering" }
|
||||
|
||||
@@ -15,8 +15,8 @@ smallvec = "1.8.1"
|
||||
# tidy-alphabetical-start
|
||||
default = ["nightly"]
|
||||
nightly = [
|
||||
"dep:rustc_serialize",
|
||||
"dep:rustc_macros",
|
||||
"dep:rustc_serialize",
|
||||
"rustc_index_macros/nightly",
|
||||
]
|
||||
rustc_randomized_layouts = []
|
||||
|
||||
@@ -7,9 +7,14 @@ edition = "2024"
|
||||
proc-macro = true
|
||||
|
||||
[dependencies]
|
||||
syn = { version = "2.0.9", features = ["full", "extra-traits"] }
|
||||
# tidy-alphabetical-start
|
||||
proc-macro2 = "1"
|
||||
quote = "1"
|
||||
syn = { version = "2.0.9", features = ["full", "extra-traits"] }
|
||||
# tidy-alphabetical-end
|
||||
|
||||
[features]
|
||||
# tidy-alphabetical-start
|
||||
nightly = []
|
||||
# tidy-alphabetical-end
|
||||
|
||||
|
||||
@@ -16,5 +16,7 @@ cc = "=1.2.16"
|
||||
# tidy-alphabetical-end
|
||||
|
||||
[features]
|
||||
# tidy-alphabetical-start
|
||||
# Used by ./x.py check --compile-time-deps to skip building C++ code
|
||||
check_only = []
|
||||
# tidy-alphabetical-end
|
||||
|
||||
@@ -6,7 +6,6 @@ edition = "2024"
|
||||
[dependencies]
|
||||
# tidy-alphabetical-start
|
||||
itertools = "0.12"
|
||||
|
||||
rustc_abi = { path = "../rustc_abi" }
|
||||
rustc_apfloat = "0.2.0"
|
||||
rustc_arena = { path = "../rustc_arena" }
|
||||
|
||||
@@ -15,6 +15,7 @@ tracing = "0.1"
|
||||
# tidy-alphabetical-end
|
||||
|
||||
[features]
|
||||
# tidy-alphabetical-start
|
||||
default = ["nightly"]
|
||||
nightly = [
|
||||
"dep:rustc_data_structures",
|
||||
@@ -22,3 +23,4 @@ nightly = [
|
||||
"rustc_index/nightly",
|
||||
"rustc_type_ir/nightly",
|
||||
]
|
||||
# tidy-alphabetical-end
|
||||
|
||||
@@ -26,5 +26,8 @@ unicode-width = "0.2.0"
|
||||
# tidy-alphabetical-end
|
||||
|
||||
[dev-dependencies]
|
||||
# tidy-alphabetical-start
|
||||
termcolor = "1.2"
|
||||
# tidy-alphabetical-end
|
||||
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@ edition = "2024"
|
||||
[dependencies]
|
||||
# tidy-alphabetical-start
|
||||
rustc-hash = "2.0.0"
|
||||
|
||||
rustc_abi = { path = "../rustc_abi", optional = true }
|
||||
rustc_apfloat = "0.2.0"
|
||||
rustc_arena = { path = "../rustc_arena", optional = true }
|
||||
@@ -24,10 +23,13 @@ tracing = "0.1"
|
||||
# tidy-alphabetical-end
|
||||
|
||||
[dev-dependencies]
|
||||
# tidy-alphabetical-start
|
||||
tracing-subscriber = { version = "0.3.3", default-features = false, features = ["fmt", "env-filter", "ansi"] }
|
||||
tracing-tree = "0.3.0"
|
||||
# tidy-alphabetical-end
|
||||
|
||||
[features]
|
||||
# tidy-alphabetical-start
|
||||
default = ["rustc"]
|
||||
rustc = [
|
||||
"dep:rustc_abi",
|
||||
@@ -43,3 +45,4 @@ rustc = [
|
||||
"smallvec/may_dangle",
|
||||
"rustc_index/nightly",
|
||||
]
|
||||
# tidy-alphabetical-end
|
||||
|
||||
@@ -15,7 +15,11 @@ test = false
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
# tidy-alphabetical-start
|
||||
rustc-literal-escaper = "0.0.5"
|
||||
# tidy-alphabetical-end
|
||||
|
||||
[features]
|
||||
# tidy-alphabetical-start
|
||||
rustc-dep-of-std = []
|
||||
# tidy-alphabetical-end
|
||||
|
||||
@@ -18,7 +18,9 @@ tracing = "0.1"
|
||||
# tidy-alphabetical-end
|
||||
|
||||
[features]
|
||||
# tidy-alphabetical-start
|
||||
# Provides access to APIs that expose internals of the rust compiler.
|
||||
# APIs enabled by this feature are unstable. They can be removed or modified
|
||||
# at any point and they are not included in the crate's semantic versioning.
|
||||
rustc_internal = []
|
||||
# tidy-alphabetical-end
|
||||
|
||||
@@ -4,9 +4,8 @@ version = "0.0.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
# tidy-alphabetical-start
|
||||
bitflags = "2.5.0"
|
||||
tracing = "0.1"
|
||||
twox-hash = "1.6.3"
|
||||
rustc_abi = { path = "../rustc_abi" }
|
||||
rustc_data_structures = { path = "../rustc_data_structures" }
|
||||
rustc_hir = { path = "../rustc_hir" }
|
||||
@@ -14,3 +13,6 @@ rustc_middle = { path = "../rustc_middle" }
|
||||
rustc_span = { path = "../rustc_span" }
|
||||
rustc_target = { path = "../rustc_target" }
|
||||
rustc_trait_selection = { path = "../rustc_trait_selection" }
|
||||
tracing = "0.1"
|
||||
twox-hash = "1.6.3"
|
||||
# tidy-alphabetical-end
|
||||
|
||||
@@ -7,7 +7,6 @@ edition = "2024"
|
||||
# tidy-alphabetical-start
|
||||
punycode = "0.4.0"
|
||||
rustc-demangle = "0.1.21"
|
||||
|
||||
rustc_abi = { path = "../rustc_abi" }
|
||||
rustc_data_structures = { path = "../rustc_data_structures" }
|
||||
rustc_errors = { path = "../rustc_errors" }
|
||||
|
||||
@@ -20,9 +20,11 @@ itertools = "0.12"
|
||||
# tidy-alphabetical-end
|
||||
|
||||
[features]
|
||||
# tidy-alphabetical-start
|
||||
rustc = [
|
||||
"dep:rustc_abi",
|
||||
"dep:rustc_hir",
|
||||
"dep:rustc_middle",
|
||||
"dep:rustc_span",
|
||||
]
|
||||
# tidy-alphabetical-end
|
||||
|
||||
@@ -23,14 +23,16 @@ tracing = "0.1"
|
||||
# tidy-alphabetical-end
|
||||
|
||||
[features]
|
||||
# tidy-alphabetical-start
|
||||
default = ["nightly"]
|
||||
nightly = [
|
||||
"dep:rustc_serialize",
|
||||
"dep:rustc_span",
|
||||
"dep:rustc_data_structures",
|
||||
"dep:rustc_macros",
|
||||
"dep:rustc_serialize",
|
||||
"dep:rustc_span",
|
||||
"rustc_ast_ir/nightly",
|
||||
"rustc_index/nightly",
|
||||
"smallvec/may_dangle",
|
||||
"smallvec/union",
|
||||
"rustc_index/nightly",
|
||||
"rustc_ast_ir/nightly",
|
||||
]
|
||||
# tidy-alphabetical-end
|
||||
|
||||
Reference in New Issue
Block a user