Add itertools to [workspace.dependencies].

This commit is contained in:
Nicholas Nethercote
2025-08-22 13:07:23 +10:00
parent c50d2cc807
commit 200f56d605
16 changed files with 16 additions and 15 deletions

View File

@@ -62,6 +62,7 @@ exclude = [
[workspace.dependencies] [workspace.dependencies]
# tidy-alphabetical-start # tidy-alphabetical-start
bitflags = "2.9.3" bitflags = "2.9.3"
itertools = "0.12.1"
memchr = "2.7.5" memchr = "2.7.5"
rustc-literal-escaper = "0.0.5" rustc-literal-escaper = "0.0.5"
thin-vec = "0.2.14" thin-vec = "0.2.14"

View File

@@ -5,7 +5,7 @@ edition = "2024"
[dependencies] [dependencies]
# tidy-alphabetical-start # tidy-alphabetical-start
itertools = "0.12" itertools.workspace = true
rustc_abi = { path = "../rustc_abi" } rustc_abi = { path = "../rustc_abi" }
rustc_ast = { path = "../rustc_ast" } rustc_ast = { path = "../rustc_ast" }
rustc_ast_pretty = { path = "../rustc_ast_pretty" } rustc_ast_pretty = { path = "../rustc_ast_pretty" }

View File

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

View File

@@ -6,7 +6,7 @@ edition = "2024"
[dependencies] [dependencies]
# tidy-alphabetical-start # tidy-alphabetical-start
either = "1.5.0" either = "1.5.0"
itertools = "0.12" itertools.workspace = true
polonius-engine = "0.13.0" polonius-engine = "0.13.0"
rustc_abi = { path = "../rustc_abi" } rustc_abi = { path = "../rustc_abi" }
rustc_data_structures = { path = "../rustc_data_structures" } rustc_data_structures = { path = "../rustc_data_structures" }

View File

@@ -12,7 +12,7 @@ bitflags.workspace = true
# To avoid duplicate dependencies, this should match the version of gimli used # To avoid duplicate dependencies, this should match the version of gimli used
# by `rustc_codegen_ssa` via its `thorin-dwp` dependency. # by `rustc_codegen_ssa` via its `thorin-dwp` dependency.
gimli = "0.31" gimli = "0.31"
itertools = "0.12" itertools.workspace = true
libc = "0.2" libc = "0.2"
measureme = "12.0.1" measureme = "12.0.1"
object = { version = "0.37.0", default-features = false, features = ["std", "read"] } object = { version = "0.37.0", default-features = false, features = ["std", "read"] }

View File

@@ -11,7 +11,7 @@ bstr = "1.11.3"
# `cc` updates often break things, so we pin it here. Cargo enforces "max 1 semver-compat version # `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`. # per crate", so if you change this, you need to also change it in `rustc_llvm`.
cc = "=1.2.16" cc = "=1.2.16"
itertools = "0.12" itertools.workspace = true
pathdiff = "0.2.0" pathdiff = "0.2.0"
regex = "1.4" regex = "1.4"
rustc_abi = { path = "../rustc_abi" } rustc_abi = { path = "../rustc_abi" }

View File

@@ -9,7 +9,7 @@ doctest = false
[dependencies] [dependencies]
# tidy-alphabetical-start # tidy-alphabetical-start
itertools = "0.12" itertools.workspace = true
rustc_abi = { path = "../rustc_abi" } rustc_abi = { path = "../rustc_abi" }
rustc_arena = { path = "../rustc_arena" } rustc_arena = { path = "../rustc_arena" }
rustc_ast = { path = "../rustc_ast" } rustc_ast = { path = "../rustc_ast" }

View File

@@ -5,7 +5,7 @@ edition = "2024"
[dependencies] [dependencies]
# tidy-alphabetical-start # tidy-alphabetical-start
itertools = "0.12" itertools.workspace = true
rustc_abi = { path = "../rustc_abi" } rustc_abi = { path = "../rustc_abi" }
rustc_ast = { path = "../rustc_ast" } rustc_ast = { path = "../rustc_ast" }
rustc_attr_parsing = { path = "../rustc_attr_parsing" } rustc_attr_parsing = { path = "../rustc_attr_parsing" }

View File

@@ -5,7 +5,7 @@ edition = "2024"
[dependencies] [dependencies]
# tidy-alphabetical-start # tidy-alphabetical-start
itertools = "0.12" itertools.workspace = true
rustc_abi = { path = "../rustc_abi" } rustc_abi = { path = "../rustc_abi" }
rustc_apfloat = "0.2.0" rustc_apfloat = "0.2.0"
rustc_arena = { path = "../rustc_arena" } rustc_arena = { path = "../rustc_arena" }

View File

@@ -6,7 +6,7 @@ edition = "2024"
[dependencies] [dependencies]
# tidy-alphabetical-start # tidy-alphabetical-start
either = "1" either = "1"
itertools = "0.12" itertools.workspace = true
rustc_abi = { path = "../rustc_abi" } rustc_abi = { path = "../rustc_abi" }
rustc_arena = { path = "../rustc_arena" } rustc_arena = { path = "../rustc_arena" }
rustc_ast = { path = "../rustc_ast" } rustc_ast = { path = "../rustc_ast" }

View File

@@ -7,7 +7,7 @@ edition = "2024"
# tidy-alphabetical-start # tidy-alphabetical-start
bitflags.workspace = true bitflags.workspace = true
indexmap = "2.4.0" indexmap = "2.4.0"
itertools = "0.12" itertools.workspace = true
pulldown-cmark = { version = "0.11", features = ["html"], default-features = false } pulldown-cmark = { version = "0.11", features = ["html"], default-features = false }
rustc_arena = { path = "../rustc_arena" } rustc_arena = { path = "../rustc_arena" }
rustc_ast = { path = "../rustc_ast" } rustc_ast = { path = "../rustc_ast" }

View File

@@ -5,7 +5,7 @@ edition = "2024"
[dependencies] [dependencies]
# tidy-alphabetical-start # tidy-alphabetical-start
itertools = "0.12" itertools.workspace = true
rustc_abi = { path = "../rustc_abi" } rustc_abi = { path = "../rustc_abi" }
rustc_ast = { path = "../rustc_ast" } rustc_ast = { path = "../rustc_ast" }
rustc_data_structures = { path = "../rustc_data_structures" } rustc_data_structures = { path = "../rustc_data_structures" }

View File

@@ -16,7 +16,7 @@ tracing.workspace = true
[dev-dependencies] [dev-dependencies]
# tidy-alphabetical-start # tidy-alphabetical-start
itertools = "0.12" itertools.workspace = true
# tidy-alphabetical-end # tidy-alphabetical-end
[features] [features]

View File

@@ -5,7 +5,7 @@ edition = "2024"
[dependencies] [dependencies]
# tidy-alphabetical-start # tidy-alphabetical-start
itertools = "0.12" itertools.workspace = true
rustc_abi = { path = "../rustc_abi" } rustc_abi = { path = "../rustc_abi" }
rustc_data_structures = { path = "../rustc_data_structures" } rustc_data_structures = { path = "../rustc_data_structures" }
rustc_errors = { path = "../rustc_errors" } rustc_errors = { path = "../rustc_errors" }

View File

@@ -13,7 +13,7 @@ arrayvec = { version = "0.7", default-features = false }
askama = { version = "0.14", default-features = false, features = ["alloc", "config", "derive"] } askama = { version = "0.14", default-features = false, features = ["alloc", "config", "derive"] }
base64 = "0.21.7" base64 = "0.21.7"
indexmap = "2" indexmap = "2"
itertools = "0.12" itertools.workspace = true
minifier = { version = "0.3.5", default-features = false } minifier = { version = "0.3.5", default-features = false }
pulldown-cmark-escape = { version = "0.11.0", features = ["simd"] } pulldown-cmark-escape = { version = "0.11.0", features = ["simd"] }
regex = "1" regex = "1"

View File

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