Add rustc-hash to [workspace.dependencies].

This commit is contained in:
Nicholas Nethercote
2025-08-27 20:24:41 +10:00
parent 77b047aaab
commit 2b26476ccd
6 changed files with 6 additions and 5 deletions

View File

@@ -71,6 +71,7 @@ libc = "=0.2.174"
memchr = "2.7.5"
proc-macro2 = "1.0.101"
quote = "1.0.40"
rustc-hash = "2.1.1"
rustc-literal-escaper = "0.0.5"
rustc_apfloat = "0.2.3"
serde_json = "1.0.142"

View File

@@ -14,7 +14,7 @@ indexmap.workspace = true
jobserver_crate = { version = "0.1.28", package = "jobserver" }
measureme = "12.0.1"
parking_lot = "0.12"
rustc-hash = "2.0.0"
rustc-hash.workspace = true
rustc-stable-hash = { version = "0.1.0", features = ["nightly"] }
rustc_arena = { path = "../rustc_arena" }
rustc_graphviz = { path = "../rustc_graphviz" }

View File

@@ -5,7 +5,7 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
rustc-hash = "2.0.0"
rustc-hash.workspace = true
rustc_abi = { path = "../rustc_abi", optional = true }
rustc_apfloat.workspace = true
rustc_arena = { path = "../rustc_arena", optional = true }

View File

@@ -9,7 +9,7 @@ bitflags.workspace = true
derive-where = "1.2.7"
ena = "0.14.3"
indexmap.workspace = true
rustc-hash = "2.0.0"
rustc-hash.workspace = true
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 }

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 = "2.0.0"
rustc-hash.workspace = true
rustdoc-json-types = { version = "0.1.0", path = "../../rustdoc-json-types" }
serde = { version = "1.0", features = ["derive"] }
serde_json.workspace = true

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 = "2.0.0"
rustc-hash.workspace = true
fluent-syntax = "0.12"
similar = "2.5.0"
toml = "0.7.8"