Revert introduction of [workspace.dependencies].

This was done in #145740 and #145947. It is causing problems for people
using r-a on anything that uses the rustc-dev rustup package, e.g. Miri,
clippy.

This repository has lots of submodules and subtrees and various
different projects are carved out of pieces of it. It seems like
`[workspace.dependencies]` will just be more trouble than it's worth.
This commit is contained in:
Nicholas Nethercote
2025-09-02 19:09:13 +10:00
parent 05abce5d05
commit 301655eafe
76 changed files with 187 additions and 212 deletions

View File

@@ -59,33 +59,6 @@ exclude = [
"obj",
]
[workspace.dependencies]
# tidy-alphabetical-start
bitflags = "2.9.3"
derive-where = "1.6.0"
either = "1.15.0"
indexmap = "2.10.0"
itertools = "0.12.1"
# FIXME: Remove this pin once this rustix issue is resolved
# https://github.com/bytecodealliance/rustix/issues/1496
libc = "=0.2.174"
measureme = "12.0.3"
memchr = "2.7.5"
odht = { version = "0.3.1", features = ["nightly"] }
polonius-engine = "0.13.0"
proc-macro2 = "1.0.101"
quote = "1.0.40"
rustc-demangle = "0.1.26"
rustc-hash = "2.1.1"
rustc-literal-escaper = "0.0.5"
rustc_apfloat = "0.2.3"
scoped-tls = "1.0.1"
serde_json = "1.0.142"
tempfile = "3.20.0"
thin-vec = "0.2.14"
tracing = "0.1.37"
# tidy-alphabetical-end
[profile.release.package.rustc_thread_pool]
# The rustc fork of Rayon has deadlock detection code which intermittently
# causes overflows in the CI (see https://github.com/rust-lang/rust/issues/90227)

View File

@@ -5,7 +5,7 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
bitflags.workspace = true
bitflags = "2.4.1"
rand = { version = "0.9.0", default-features = false, optional = true }
rand_xoshiro = { version = "0.7.0", optional = true }
rustc_data_structures = { path = "../rustc_data_structures", optional = true }
@@ -15,7 +15,7 @@ rustc_index = { path = "../rustc_index", default-features = false }
rustc_macros = { path = "../rustc_macros", optional = true }
rustc_serialize = { path = "../rustc_serialize", optional = true }
rustc_span = { path = "../rustc_span", optional = true }
tracing.workspace = true
tracing = "0.1"
# tidy-alphabetical-end
[features]

View File

@@ -5,9 +5,9 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
bitflags.workspace = true
memchr.workspace = true
rustc-literal-escaper.workspace = true
bitflags = "2.4.1"
memchr = "2.7.4"
rustc-literal-escaper = "0.0.5"
rustc_ast_ir = { path = "../rustc_ast_ir" }
rustc_data_structures = { path = "../rustc_data_structures" }
rustc_index = { path = "../rustc_index" }
@@ -15,6 +15,6 @@ rustc_macros = { path = "../rustc_macros" }
rustc_serialize = { path = "../rustc_serialize" }
rustc_span = { path = "../rustc_span" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec.workspace = true
tracing.workspace = true
thin-vec = "0.2.12"
tracing = "0.1"
# tidy-alphabetical-end

View File

@@ -24,6 +24,6 @@ rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec.workspace = true
tracing.workspace = true
thin-vec = "0.2.12"
tracing = "0.1"
# tidy-alphabetical-end

View File

@@ -5,7 +5,7 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
itertools.workspace = true
itertools = "0.12"
rustc_abi = { path = "../rustc_abi" }
rustc_ast = { path = "../rustc_ast" }
rustc_ast_pretty = { path = "../rustc_ast_pretty" }
@@ -18,5 +18,5 @@ rustc_macros = { path = "../rustc_macros" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
thin-vec.workspace = true
thin-vec = "0.2.12"
# tidy-alphabetical-end

View File

@@ -5,7 +5,7 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
itertools.workspace = true
itertools = "0.12"
rustc_ast = { path = "../rustc_ast" }
rustc_lexer = { path = "../rustc_lexer" }
rustc_span = { path = "../rustc_span" }
@@ -13,5 +13,5 @@ rustc_span = { path = "../rustc_span" }
[dev-dependencies]
# tidy-alphabetical-start
thin-vec.workspace = true
thin-vec = "0.2.12"
# tidy-alphabetical-end

View File

@@ -18,5 +18,5 @@ rustc_parse = { path = "../rustc_parse" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
thin-vec.workspace = true
thin-vec = "0.2.12"
# tidy-alphabetical-end

View File

@@ -5,9 +5,9 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
either.workspace = true
itertools.workspace = true
polonius-engine.workspace = true
either = "1.5.0"
itertools = "0.12"
polonius-engine = "0.13.0"
rustc_abi = { path = "../rustc_abi" }
rustc_data_structures = { path = "../rustc_data_structures" }
rustc_errors = { path = "../rustc_errors" }
@@ -25,5 +25,5 @@ rustc_span = { path = "../rustc_span" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
rustc_traits = { path = "../rustc_traits" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
tracing.workspace = true
tracing = "0.1"
# tidy-alphabetical-end

View File

@@ -30,6 +30,6 @@ rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec.workspace = true
tracing.workspace = true
thin-vec = "0.2.12"
tracing = "0.1"
# tidy-alphabetical-end

View File

@@ -8,15 +8,15 @@ test = false
[dependencies]
# tidy-alphabetical-start
bitflags.workspace = true
bitflags = "2.4.1"
# To avoid duplicate dependencies, this should match the version of gimli used
# by `rustc_codegen_ssa` via its `thorin-dwp` dependency.
gimli = "0.31"
itertools.workspace = true
libc.workspace = true
measureme.workspace = true
itertools = "0.12"
libc = "0.2"
measureme = "12.0.1"
object = { version = "0.37.0", default-features = false, features = ["std", "read"] }
rustc-demangle.workspace = true
rustc-demangle = "0.1.21"
rustc_abi = { path = "../rustc_abi" }
rustc_ast = { path = "../rustc_ast" }
rustc_codegen_ssa = { path = "../rustc_codegen_ssa" }
@@ -38,9 +38,9 @@ rustc_span = { path = "../rustc_span" }
rustc_symbol_mangling = { path = "../rustc_symbol_mangling" }
rustc_target = { path = "../rustc_target" }
serde = { version = "1", features = ["derive"] }
serde_json.workspace = true
serde_json = "1"
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
tracing.workspace = true
tracing = "0.1"
# tidy-alphabetical-end
[features]

View File

@@ -6,12 +6,12 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
ar_archive_writer = "0.5"
bitflags.workspace = true
bitflags = "2.4.1"
bstr = "1.11.3"
# `cc` updates often break things, so we pin it here. Cargo enforces "max 1 semver-compat version
# per crate", so if you change this, you need to also change it in `rustc_llvm`.
cc = "=1.2.16"
itertools.workspace = true
itertools = "0.12"
pathdiff = "0.2.0"
regex = "1.4"
rustc_abi = { path = "../rustc_abi" }
@@ -37,18 +37,18 @@ rustc_span = { path = "../rustc_span" }
rustc_symbol_mangling = { path = "../rustc_symbol_mangling" }
rustc_target = { path = "../rustc_target" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
serde_json.workspace = true
serde_json = "1.0.59"
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
tempfile.workspace = true
thin-vec.workspace = true
tempfile = "3.2"
thin-vec = "0.2.12"
thorin-dwp = "0.9"
tracing.workspace = true
tracing = "0.1"
wasm-encoder = "0.219"
# tidy-alphabetical-end
[target.'cfg(unix)'.dependencies]
# tidy-alphabetical-start
libc.workspace = true
libc = "0.2.50"
# tidy-alphabetical-end
[dependencies.object]

View File

@@ -5,9 +5,9 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
either.workspace = true
either = "1"
rustc_abi = { path = "../rustc_abi" }
rustc_apfloat.workspace = true
rustc_apfloat = "0.2.0"
rustc_ast = { path = "../rustc_ast" }
rustc_data_structures = { path = "../rustc_data_structures" }
rustc_errors = { path = "../rustc_errors" }
@@ -22,5 +22,5 @@ rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
tracing.workspace = true
tracing = "0.1"
# tidy-alphabetical-end

View File

@@ -6,15 +6,15 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
arrayvec = { version = "0.7", default-features = false }
bitflags.workspace = true
either.workspace = true
bitflags = "2.4.1"
either = "1.0"
elsa = "1.11.0"
ena = "0.14.3"
indexmap.workspace = true
indexmap = "2.4.0"
jobserver_crate = { version = "0.1.28", package = "jobserver" }
measureme.workspace = true
measureme = "12.0.1"
parking_lot = "0.12"
rustc-hash.workspace = true
rustc-hash = "2.0.0"
rustc-stable-hash = { version = "0.1.0", features = ["nightly"] }
rustc_arena = { path = "../rustc_arena" }
rustc_graphviz = { path = "../rustc_graphviz" }
@@ -25,9 +25,9 @@ rustc_serialize = { path = "../rustc_serialize" }
rustc_thread_pool = { path = "../rustc_thread_pool" }
smallvec = { version = "1.8.1", features = ["const_generics", "union", "may_dangle"] }
stacker = "0.1.17"
tempfile.workspace = true
thin-vec.workspace = true
tracing.workspace = true
tempfile = "3.2"
thin-vec = "0.2.12"
tracing = "0.1"
# tidy-alphabetical-end
[dependencies.hashbrown]
@@ -47,7 +47,7 @@ features = [
[target.'cfg(unix)'.dependencies]
# tidy-alphabetical-start
libc.workspace = true
libc = "0.2"
# tidy-alphabetical-end
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]

View File

@@ -49,14 +49,14 @@ rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
rustc_ty_utils = { path = "../rustc_ty_utils" }
serde_json.workspace = true
serde_json = "1.0.59"
shlex = "1.0"
tracing.workspace = true
tracing = { version = "0.1.35" }
# tidy-alphabetical-end
[target.'cfg(all(unix, any(target_env = "gnu", target_os = "macos")))'.dependencies]
# tidy-alphabetical-start
libc.workspace = true
libc = "0.2"
# tidy-alphabetical-end
[target.'cfg(windows)'.dependencies.windows]

View File

@@ -17,6 +17,6 @@ rustc_data_structures = { path = "../rustc_data_structures" }
rustc_macros = { path = "../rustc_macros" }
rustc_serialize = { path = "../rustc_serialize" }
rustc_span = { path = "../rustc_span" }
tracing.workspace = true
tracing = "0.1"
unic-langid = { version = "0.9.0", features = ["macros"] }
# tidy-alphabetical-end

View File

@@ -21,10 +21,10 @@ rustc_macros = { path = "../rustc_macros" }
rustc_serialize = { path = "../rustc_serialize" }
rustc_span = { path = "../rustc_span" }
serde = { version = "1.0.125", features = ["derive"] }
serde_json.workspace = true
serde_json = "1.0.59"
termcolor = "1.2.0"
termize = "0.2"
tracing.workspace = true
tracing = "0.1"
# tidy-alphabetical-end
[target.'cfg(windows)'.dependencies.windows]

View File

@@ -29,6 +29,6 @@ rustc_serialize = { path = "../rustc_serialize" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec.workspace = true
tracing.workspace = true
thin-vec = "0.2.12"
tracing = "0.1"
# tidy-alphabetical-end

View File

@@ -9,5 +9,5 @@ rustc_data_structures = { path = "../rustc_data_structures" }
rustc_hir = { path = "../rustc_hir" }
rustc_span = { path = "../rustc_span" }
serde = { version = "1.0.125", features = ["derive"] }
serde_json.workspace = true
serde_json = "1.0.59"
# tidy-alphabetical-end

View File

@@ -11,8 +11,8 @@ proc-macro = true
annotate-snippets = "0.11"
fluent-bundle = "0.16"
fluent-syntax = "0.12"
proc-macro2.workspace = true
quote.workspace = true
proc-macro2 = "1"
quote = "1"
syn = { version = "2", features = ["full"] }
unic-langid = { version = "0.9.0", features = ["macros"] }
# tidy-alphabetical-end

View File

@@ -5,5 +5,5 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
tempfile.workspace = true
tempfile = "3.7.1"
# tidy-alphabetical-end

View File

@@ -5,8 +5,8 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
bitflags.workspace = true
odht.workspace = true
bitflags = "2.9.1"
odht = { version = "0.3.1", features = ["nightly"] }
rustc_abi = { path = "../rustc_abi" }
rustc_arena = { path = "../rustc_arena" }
rustc_ast = { path = "../rustc_ast" }
@@ -21,6 +21,6 @@ rustc_serialize = { path = "../rustc_serialize" }
rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec.workspace = true
tracing.workspace = true
thin-vec = "0.2.12"
tracing = "0.1"
# tidy-alphabetical-end

View File

@@ -9,7 +9,7 @@ doctest = false
[dependencies]
# tidy-alphabetical-start
itertools.workspace = true
itertools = "0.12"
rustc_abi = { path = "../rustc_abi" }
rustc_arena = { path = "../rustc_arena" }
rustc_ast = { path = "../rustc_ast" }
@@ -29,5 +29,5 @@ rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
tracing.workspace = true
tracing = "0.1"
# tidy-alphabetical-end

View File

@@ -5,7 +5,7 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
itertools.workspace = true
itertools = "0.12"
rustc_abi = { path = "../rustc_abi" }
rustc_ast = { path = "../rustc_ast" }
rustc_attr_parsing = { path = "../rustc_attr_parsing" }
@@ -25,5 +25,5 @@ rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
tracing.workspace = true
tracing = "0.1"
# tidy-alphabetical-end

View File

@@ -19,6 +19,6 @@ rustc_middle = { path = "../rustc_middle" }
rustc_serialize = { path = "../rustc_serialize" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
thin-vec.workspace = true
tracing.workspace = true
thin-vec = "0.2.12"
tracing = "0.1"
# tidy-alphabetical-end

View File

@@ -8,8 +8,8 @@ proc-macro = true
[dependencies]
# tidy-alphabetical-start
proc-macro2.workspace = true
quote.workspace = true
proc-macro2 = "1"
quote = "1"
syn = { version = "2.0.9", features = ["full", "extra-traits"] }
# tidy-alphabetical-end

View File

@@ -18,6 +18,6 @@ rustc_middle = { path = "../rustc_middle" }
rustc_span = { path = "../rustc_span" }
rustc_type_ir = { path = "../rustc_type_ir" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec.workspace = true
tracing.workspace = true
thin-vec = "0.2.12"
tracing = "0.1"
# tidy-alphabetical-end

View File

@@ -46,7 +46,7 @@ rustc_thread_pool = { path = "../rustc_thread_pool" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
rustc_traits = { path = "../rustc_traits" }
rustc_ty_utils = { path = "../rustc_ty_utils" }
tracing.workspace = true
tracing = "0.1"
# tidy-alphabetical-end
[dev-dependencies]

View File

@@ -14,7 +14,7 @@ Rust lexer used by rustc. No stability guarantees are provided.
# Note that this crate purposefully does not depend on other rustc crates
[dependencies]
memchr.workspace = true
memchr = "2.7.4"
unicode-properties = { version = "0.1.0", default-features = false, features = ["emoji"] }
unicode-xid = "0.2.0"

View File

@@ -24,6 +24,6 @@ rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
tracing.workspace = true
tracing = "0.1"
unicode-security = "0.1.0"
# tidy-alphabetical-end

View File

@@ -5,7 +5,7 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
libc.workspace = true
libc = "0.2.73"
# tidy-alphabetical-end
[build-dependencies]

View File

@@ -5,10 +5,10 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
tracing = "0.1.28"
tracing-core = "=0.1.30" # FIXME(Nilstrieb) tracing has a deadlock: https://github.com/tokio-rs/tracing/issues/2635
tracing-subscriber = { version = "0.3.3", default-features = false, features = ["fmt", "env-filter", "smallvec", "parking_lot", "ansi"] }
tracing-tree = "0.3.1"
tracing.workspace = true
# tidy-alphabetical-end
[features]

View File

@@ -8,8 +8,8 @@ proc-macro = true
[dependencies]
# tidy-alphabetical-start
proc-macro2.workspace = true
quote.workspace = true
proc-macro2 = "1"
quote = "1"
syn = { version = "2.0.9", features = ["full"] }
synstructure = "0.13.0"
# tidy-alphabetical-end

View File

@@ -5,9 +5,9 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
bitflags.workspace = true
bitflags = "2.4.1"
libloading = "0.8.0"
odht.workspace = true
odht = { version = "0.3.1", features = ["nightly"] }
rustc_abi = { path = "../rustc_abi" }
rustc_ast = { path = "../rustc_ast" }
rustc_attr_parsing = { path = "../rustc_attr_parsing" }
@@ -30,11 +30,11 @@ rustc_serialize = { path = "../rustc_serialize" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
tempfile.workspace = true
tracing.workspace = true
tempfile = "3.7.1"
tracing = "0.1"
# tidy-alphabetical-end
[target.'cfg(target_os = "aix")'.dependencies]
# tidy-alphabetical-start
libc.workspace = true
libc = "0.2"
# tidy-alphabetical-end

View File

@@ -5,12 +5,12 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
bitflags.workspace = true
either.workspace = true
bitflags = "2.4.1"
either = "1.5.0"
gsgdt = "0.1.2"
polonius-engine.workspace = true
polonius-engine = "0.13.0"
rustc_abi = { path = "../rustc_abi" }
rustc_apfloat.workspace = true
rustc_apfloat = "0.2.0"
rustc_arena = { path = "../rustc_arena" }
rustc_ast = { path = "../rustc_ast" }
rustc_ast_ir = { path = "../rustc_ast_ir" }
@@ -34,8 +34,8 @@ rustc_target = { path = "../rustc_target" }
rustc_thread_pool = { path = "../rustc_thread_pool" }
rustc_type_ir = { path = "../rustc_type_ir" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec.workspace = true
tracing.workspace = true
thin-vec = "0.2.12"
tracing = "0.1"
# tidy-alphabetical-end
[features]

View File

@@ -5,9 +5,9 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
itertools.workspace = true
itertools = "0.12"
rustc_abi = { path = "../rustc_abi" }
rustc_apfloat.workspace = true
rustc_apfloat = "0.2.0"
rustc_arena = { path = "../rustc_arena" }
rustc_ast = { path = "../rustc_ast" }
rustc_data_structures = { path = "../rustc_data_structures" }
@@ -23,5 +23,5 @@ rustc_pattern_analysis = { path = "../rustc_pattern_analysis" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
tracing.workspace = true
tracing = "0.1"
# tidy-alphabetical-end

View File

@@ -5,7 +5,7 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
polonius-engine.workspace = true
polonius-engine = "0.13.0"
regex = "1"
rustc_abi = { path = "../rustc_abi" }
rustc_ast = { path = "../rustc_ast" }
@@ -18,5 +18,5 @@ rustc_macros = { path = "../rustc_macros" }
rustc_middle = { path = "../rustc_middle" }
rustc_span = { path = "../rustc_span" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
tracing.workspace = true
tracing = "0.1"
# tidy-alphabetical-end

View File

@@ -5,8 +5,8 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
either.workspace = true
itertools.workspace = true
either = "1"
itertools = "0.12"
rustc_abi = { path = "../rustc_abi" }
rustc_arena = { path = "../rustc_arena" }
rustc_ast = { path = "../rustc_ast" }
@@ -26,5 +26,5 @@ rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
tracing.workspace = true
tracing = "0.1"
# tidy-alphabetical-end

View File

@@ -16,6 +16,6 @@ rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
serde = "1"
serde_json.workspace = true
tracing.workspace = true
serde_json = "1"
tracing = "0.1"
# tidy-alphabetical-end

View File

@@ -5,13 +5,13 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
derive-where.workspace = true
derive-where = "1.2.7"
rustc_data_structures = { path = "../rustc_data_structures", optional = true }
rustc_index = { path = "../rustc_index", default-features = false }
rustc_macros = { path = "../rustc_macros", optional = true }
rustc_type_ir = { path = "../rustc_type_ir", default-features = false }
rustc_type_ir_macros = { path = "../rustc_type_ir_macros" }
tracing.workspace = true
tracing = "0.1"
# tidy-alphabetical-end
[features]

View File

@@ -5,8 +5,8 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
bitflags.workspace = true
rustc-literal-escaper.workspace = true
bitflags = "2.4.1"
rustc-literal-escaper = "0.0.5"
rustc_ast = { path = "../rustc_ast" }
rustc_ast_pretty = { path = "../rustc_ast_pretty" }
rustc_data_structures = { path = "../rustc_data_structures" }
@@ -18,8 +18,8 @@ rustc_lexer = { path = "../rustc_lexer" }
rustc_macros = { path = "../rustc_macros" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
thin-vec.workspace = true
tracing.workspace = true
thin-vec = "0.2.12"
tracing = "0.1"
unicode-normalization = "0.1.11"
unicode-width = "0.2.0"
# tidy-alphabetical-end

View File

@@ -5,7 +5,7 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
rustc-literal-escaper.workspace = true
rustc-literal-escaper = "0.0.5"
rustc_lexer = { path = "../rustc_lexer" }
# tidy-alphabetical-end

View File

@@ -24,5 +24,5 @@ rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
tracing.workspace = true
tracing = "0.1"
# tidy-alphabetical-end

View File

@@ -5,9 +5,9 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
rustc-hash.workspace = true
rustc-hash = "2.0.0"
rustc_abi = { path = "../rustc_abi", optional = true }
rustc_apfloat.workspace = true
rustc_apfloat = "0.2.0"
rustc_arena = { path = "../rustc_arena", optional = true }
rustc_data_structures = { path = "../rustc_data_structures", optional = true }
rustc_errors = { path = "../rustc_errors", optional = true }
@@ -19,7 +19,7 @@ rustc_middle = { path = "../rustc_middle", optional = true }
rustc_session = { path = "../rustc_session", optional = true }
rustc_span = { path = "../rustc_span", optional = true }
smallvec = { version = "1.8.1", features = ["union"] }
tracing.workspace = true
tracing = "0.1"
# tidy-alphabetical-end
[dev-dependencies]

View File

@@ -15,5 +15,5 @@ rustc_middle = { path = "../rustc_middle" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
rustc_ty_utils = { path = "../rustc_ty_utils" }
tracing.workspace = true
tracing = "0.1"
# tidy-alphabetical-end

View File

@@ -16,7 +16,7 @@ doctest = false
[dependencies]
# tidy-alphabetical-start
rustc-literal-escaper.workspace = true
rustc-literal-escaper = "0.0.5"
# tidy-alphabetical-end
[features]

View File

@@ -12,9 +12,9 @@ rustc_public_bridge = { path = "../rustc_public_bridge" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
scoped-tls.workspace = true
scoped-tls = "1.0"
serde = { version = "1.0.125", features = [ "derive" ] }
tracing.workspace = true
tracing = "0.1"
# tidy-alphabetical-end
[features]

View File

@@ -5,7 +5,7 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
measureme.workspace = true
measureme = "12.0.1"
rustc_data_structures = { path = "../rustc_data_structures" }
rustc_hashes = { path = "../rustc_hashes" }
rustc_hir = { path = "../rustc_hir" }
@@ -15,5 +15,5 @@ rustc_query_system = { path = "../rustc_query_system" }
rustc_serialize = { path = "../rustc_serialize" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
tracing.workspace = true
tracing = "0.1"
# tidy-alphabetical-end

View File

@@ -21,7 +21,7 @@ rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
rustc_thread_pool = { path = "../rustc_thread_pool" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
tracing.workspace = true
tracing = "0.1"
# tidy-alphabetical-end
[dependencies.hashbrown]

View File

@@ -5,9 +5,9 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
bitflags.workspace = true
indexmap.workspace = true
itertools.workspace = true
bitflags = "2.4.1"
indexmap = "2.4.0"
itertools = "0.12"
pulldown-cmark = { version = "0.11", features = ["html"], default-features = false }
rustc_arena = { path = "../rustc_arena" }
rustc_ast = { path = "../rustc_ast" }
@@ -27,6 +27,6 @@ rustc_query_system = { path = "../rustc_query_system" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec.workspace = true
tracing.workspace = true
thin-vec = "0.2.12"
tracing = "0.1"
# tidy-alphabetical-end

View File

@@ -5,7 +5,7 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
bitflags.workspace = true
bitflags = "2.5.0"
rustc_abi = { path = "../rustc_abi" }
rustc_data_structures = { path = "../rustc_data_structures" }
rustc_hir = { path = "../rustc_hir" }
@@ -13,6 +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.workspace = true
tracing = "0.1"
twox-hash = "1.6.3"
# tidy-alphabetical-end

View File

@@ -5,14 +5,14 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
indexmap.workspace = true
indexmap = "2.0.0"
rustc_hashes = { path = "../rustc_hashes" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec.workspace = true
thin-vec = "0.2.12"
# tidy-alphabetical-end
[dev-dependencies]
# tidy-alphabetical-start
rustc_macros = { path = "../rustc_macros" }
tempfile.workspace = true
tempfile = "3.2"
# tidy-alphabetical-end

View File

@@ -5,7 +5,7 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
bitflags.workspace = true
bitflags = "2.4.1"
getopts = "0.2"
rand = "0.9.0"
rustc_abi = { path = "../rustc_abi" }
@@ -23,12 +23,14 @@ rustc_serialize = { path = "../rustc_serialize" }
rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
termize = "0.2"
tracing.workspace = true
tracing = "0.1"
# tidy-alphabetical-end
[target.'cfg(unix)'.dependencies]
# FIXME: Remove this pin once this rustix issue is resolved
# https://github.com/bytecodealliance/rustix/issues/1496
# tidy-alphabetical-start
libc.workspace = true
libc = "=0.2.174"
# tidy-alphabetical-end
[target.'cfg(windows)'.dependencies.windows]

View File

@@ -6,8 +6,8 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
blake3 = "1.5.2"
derive-where.workspace = true
indexmap.workspace = true
derive-where = "1.2.7"
indexmap = { version = "2.0.0" }
itoa = "1.0"
md5 = { package = "md-5", version = "0.10.0" }
rustc_arena = { path = "../rustc_arena" }
@@ -16,9 +16,9 @@ rustc_hashes = { path = "../rustc_hashes" }
rustc_index = { path = "../rustc_index" }
rustc_macros = { path = "../rustc_macros" }
rustc_serialize = { path = "../rustc_serialize" }
scoped-tls.workspace = true
scoped-tls = "1.0"
sha1 = "0.10.0"
sha2 = "0.10.1"
tracing.workspace = true
tracing = "0.1"
unicode-width = "0.2.0"
# tidy-alphabetical-end

View File

@@ -6,7 +6,7 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
punycode = "0.4.0"
rustc-demangle.workspace = true
rustc-demangle = "0.1.21"
rustc_abi = { path = "../rustc_abi" }
rustc_data_structures = { path = "../rustc_data_structures" }
rustc_errors = { path = "../rustc_errors" }
@@ -15,5 +15,5 @@ rustc_hir = { path = "../rustc_hir" }
rustc_middle = { path = "../rustc_middle" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
tracing.workspace = true
tracing = "0.1"
# tidy-alphabetical-end

View File

@@ -5,7 +5,7 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
bitflags.workspace = true
bitflags = "2.4.1"
object = { version = "0.37.0", default-features = false, features = ["elf", "macho"] }
rustc_abi = { path = "../rustc_abi" }
rustc_data_structures = { path = "../rustc_data_structures" }
@@ -16,8 +16,8 @@ rustc_serialize = { path = "../rustc_serialize" }
rustc_span = { path = "../rustc_span" }
serde = "1.0.219"
serde_derive = "1.0.219"
serde_json.workspace = true
serde_json = "1.0.59"
serde_path_to_error = "0.1.17"
tracing.workspace = true
tracing = "0.1"
# tidy-alphabetical-end

View File

@@ -20,10 +20,10 @@ smallvec = "1.8.1"
[dev-dependencies]
rand = "0.9"
rand_xorshift = "0.4"
scoped-tls.workspace = true
scoped-tls = "1.0"
[target.'cfg(unix)'.dev-dependencies]
libc.workspace = true
libc = "0.2"
[[test]]
name = "stack_overflow_crash"

View File

@@ -5,7 +5,7 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
itertools.workspace = true
itertools = "0.12"
rustc_abi = { path = "../rustc_abi" }
rustc_ast = { path = "../rustc_ast" }
rustc_data_structures = { path = "../rustc_data_structures" }
@@ -21,6 +21,6 @@ rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
rustc_transmute = { path = "../rustc_transmute", features = ["rustc"] }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec.workspace = true
tracing.workspace = true
thin-vec = "0.2"
tracing = "0.1"
# tidy-alphabetical-end

View File

@@ -10,5 +10,5 @@ rustc_infer = { path = "../rustc_infer" }
rustc_middle = { path = "../rustc_middle" }
rustc_span = { path = "../rustc_span" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
tracing.workspace = true
tracing = "0.1"
# tidy-alphabetical-end

View File

@@ -11,12 +11,12 @@ rustc_hir = { path = "../rustc_hir", optional = true }
rustc_middle = { path = "../rustc_middle", optional = true }
rustc_span = { path = "../rustc_span", optional = true }
smallvec = "1.8.1"
tracing.workspace = true
tracing = "0.1"
# tidy-alphabetical-end
[dev-dependencies]
# tidy-alphabetical-start
itertools.workspace = true
itertools = "0.12"
# tidy-alphabetical-end
[features]

View File

@@ -5,7 +5,7 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
itertools.workspace = true
itertools = "0.12"
rustc_abi = { path = "../rustc_abi" }
rustc_data_structures = { path = "../rustc_data_structures" }
rustc_errors = { path = "../rustc_errors" }
@@ -20,5 +20,5 @@ rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
tracing.workspace = true
tracing = "0.1"
# tidy-alphabetical-end

View File

@@ -5,11 +5,11 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
bitflags.workspace = true
derive-where.workspace = true
bitflags = "2.4.1"
derive-where = "1.2.7"
ena = "0.14.3"
indexmap.workspace = true
rustc-hash.workspace = true
indexmap = "2.0.0"
rustc-hash = "2.0.0"
rustc_ast_ir = { path = "../rustc_ast_ir", default-features = false }
rustc_data_structures = { path = "../rustc_data_structures", optional = true }
rustc_error_messages = { path = "../rustc_error_messages", optional = true }
@@ -19,8 +19,8 @@ rustc_serialize = { path = "../rustc_serialize", optional = true }
rustc_span = { path = "../rustc_span", optional = true }
rustc_type_ir_macros = { path = "../rustc_type_ir_macros" }
smallvec = { version = "1.8.1", default-features = false, features = ["const_generics"] }
thin-vec.workspace = true
tracing.workspace = true
thin-vec = "0.2.12"
tracing = "0.1"
# tidy-alphabetical-end
[features]

View File

@@ -8,8 +8,8 @@ proc-macro = true
[dependencies]
# tidy-alphabetical-start
proc-macro2.workspace = true
quote.workspace = true
proc-macro2 = "1"
quote = "1"
syn = { version = "2.0.9", features = ["full"] }
synstructure = "0.13.0"
# tidy-alphabetical-end

View File

@@ -12,20 +12,20 @@ path = "lib.rs"
arrayvec = { version = "0.7", default-features = false }
askama = { version = "0.14", default-features = false, features = ["alloc", "config", "derive"] }
base64 = "0.21.7"
indexmap.workspace = true
itertools.workspace = true
indexmap = "2"
itertools = "0.12"
minifier = { version = "0.3.5", default-features = false }
pulldown-cmark-escape = { version = "0.11.0", features = ["simd"] }
regex = "1"
rustdoc-json-types = { path = "../rustdoc-json-types" }
serde = { version = "1.0", features = ["derive"] }
serde_json.workspace = true
serde_json = "1.0"
smallvec = "1.8.1"
stringdex = { version = "0.0.1-alpha4" }
tempfile.workspace = true
tempfile = "3"
threadpool = "1.8.1"
tracing = "0.1"
tracing-tree = "0.3.0"
tracing.workspace = true
unicode-segmentation = "1.9"
# tidy-alphabetical-end

View File

@@ -6,7 +6,7 @@ edition = "2021"
[dependencies]
toml = "0.7"
serde = { version = "1.0", features = ["derive"] }
serde_json.workspace = true
serde_json = "1.0"
anyhow = "1.0.32"
flate2 = "1.0.26"
xz2 = "0.1.7"

View File

@@ -8,5 +8,5 @@ license = "MIT OR Apache-2.0"
[dependencies]
anyhow = "1.0.65"
serde = { version = "1.0.147", features = ["derive"] }
serde_json.workspace = true
serde_json = "1.0.85"
spdx-rs = "0.5.1"

View File

@@ -20,22 +20,22 @@ diff = "0.1.10"
getopts = "0.2"
glob = "0.3.0"
home = "0.5.5"
indexmap.workspace = true
indexmap = "2.0.0"
miropt-test-tools = { path = "../miropt-test-tools" }
rayon = "1.10.0"
regex = "1.0"
rustfix = "0.8.1"
semver = { version = "1.0.23", features = ["serde"] }
serde = { version = "1.0", features = ["derive"] }
serde_json.workspace = true
serde_json = "1.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3.3", default-features = false, features = ["ansi", "env-filter", "fmt", "parking_lot", "smallvec"] }
tracing.workspace = true
unified-diff = "0.2.1"
walkdir = "2"
# tidy-alphabetical-end
[target.'cfg(unix)'.dependencies]
libc.workspace = true
libc = "0.2"
[target.'cfg(windows)'.dependencies]
miow = "0.6"

View File

@@ -7,9 +7,9 @@ edition = "2021"
[dependencies]
anyhow = "1.0.71"
itertools.workspace = true
itertools = "0.12"
leb128 = "0.2.5"
md5 = { package = "md-5" , version = "0.10.5" }
miniz_oxide = "0.8.8"
regex = "1.8.4"
rustc-demangle.workspace = true
rustc-demangle = "0.1.23"

View File

@@ -8,5 +8,5 @@ edition = "2021"
anyhow = { version = "1" }
clap = { version = "4", features = ["derive"] }
serde = { version = "1.0.125", features = [ "derive" ] }
serde_json.workspace = true
serde_json = "1.0.59"
tidy = { path = "../tidy", features = ["build-metrics"] }

View File

@@ -11,5 +11,5 @@ anyhow = "1.0.65"
askama = "0.14.0"
cargo_metadata = "0.21"
serde = { version = "1.0.147", features = ["derive"] }
serde_json.workspace = true
serde_json = "1.0.85"
thiserror = "1"

View File

@@ -8,5 +8,5 @@ jsonpath-rust = "1.0.0"
getopts = "0.2"
regex = "1.4"
shlex = "1.0"
serde_json.workspace = true
serde_json = "1.0"
fs-err = "2.5.0"

View File

@@ -9,7 +9,7 @@ edition = "2021"
anyhow = "1.0.62"
clap = { version = "4.0.15", features = ["derive"] }
fs-err = "2.8.1"
rustc-hash.workspace = true
rustc-hash = "2.0.0"
rustdoc-json-types = { version = "0.1.0", path = "../../rustdoc-json-types" }
serde = { version = "1.0", features = ["derive"] }
serde_json.workspace = true
serde_json = "1.0.85"

View File

@@ -8,6 +8,6 @@ description = "A script to extract the lint documentation for the rustc book."
[dependencies]
rustc-literal-escaper = "0.0.5"
serde_json.workspace = true
tempfile.workspace = true
serde_json = "1.0.57"
tempfile = "3.1.0"
walkdir = "2.3.1"

View File

@@ -8,7 +8,7 @@ publish = false
[dependencies]
anyhow = "1.0"
tracing.workspace = true
tracing-subscriber = { version = "0.3.0", features = ["std"] }
tracing = "0.1"
tracing-subscriber = {version = "0.3.0", features = ["std"] }
clap = { version = "4.3", features = ["derive"] }
thiserror = "1.0.24"

View File

@@ -15,9 +15,9 @@ fs_extra = "1"
camino = "1"
tar = "0.4"
xz = { version = "0.1", package = "xz2" }
serde_json.workspace = true
serde_json = "1"
glob = "0.3"
tempfile.workspace = true
tempfile = "3.5"
derive_builder = "0.20"
clap = { version = "4", features = ["derive"] }
tabled = { version = "0.15", default-features = false, features = ["std"] }

View File

@@ -12,10 +12,10 @@ edition = "2024"
# tidy-alphabetical-start
bstr = "1.12"
gimli = "0.32"
libc.workspace = true
libc = "0.2"
object = "0.37"
regex = "1.11"
serde_json.workspace = true
serde_json = "1.0"
similar = "2.7"
wasmparser = { version = "0.236", default-features = false, features = ["std", "features", "validate"] }
# tidy-alphabetical-end

View File

@@ -14,7 +14,7 @@ ignore = "0.4.18"
semver = "1.0"
serde = { version = "1.0.125", features = ["derive"], optional = true }
termcolor = "1.1.3"
rustc-hash.workspace = true
rustc-hash = "2.0.0"
fluent-syntax = "0.12"
similar = "2.5.0"
toml = "0.7.8"