Add serde_json to [workspace.dependencies].

This commit is contained in:
Nicholas Nethercote
2025-08-27 19:58:21 +10:00
parent 12dc789bc6
commit daf6fe2c1b
19 changed files with 19 additions and 18 deletions

View File

@@ -68,6 +68,7 @@ itertools = "0.12.1"
libc = "=0.2.174"
memchr = "2.7.5"
rustc-literal-escaper = "0.0.5"
serde_json = "1.0.142"
thin-vec = "0.2.14"
tracing = "0.1.37"
# tidy-alphabetical-end

View File

@@ -38,7 +38,7 @@ rustc_span = { path = "../rustc_span" }
rustc_symbol_mangling = { path = "../rustc_symbol_mangling" }
rustc_target = { path = "../rustc_target" }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_json.workspace = true
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
tracing.workspace = true
# tidy-alphabetical-end

View File

@@ -37,7 +37,7 @@ 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 = "1.0.59"
serde_json.workspace = true
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
tempfile = "3.2"
thin-vec.workspace = true

View File

@@ -49,7 +49,7 @@ 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 = "1.0.59"
serde_json.workspace = true
shlex = "1.0"
tracing.workspace = true
# tidy-alphabetical-end

View File

@@ -21,7 +21,7 @@ rustc_macros = { path = "../rustc_macros" }
rustc_serialize = { path = "../rustc_serialize" }
rustc_span = { path = "../rustc_span" }
serde = { version = "1.0.125", features = ["derive"] }
serde_json = "1.0.59"
serde_json.workspace = true
termcolor = "1.2.0"
termize = "0.2"
tracing.workspace = true

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 = "1.0.59"
serde_json.workspace = true
# 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 = "1"
serde_json.workspace = true
tracing.workspace = true
# tidy-alphabetical-end

View File

@@ -16,7 +16,7 @@ rustc_serialize = { path = "../rustc_serialize" }
rustc_span = { path = "../rustc_span" }
serde = "1.0.219"
serde_derive = "1.0.219"
serde_json = "1.0.59"
serde_json.workspace = true
serde_path_to_error = "0.1.17"
tracing.workspace = true
# tidy-alphabetical-end

View File

@@ -19,7 +19,7 @@ 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 = "1.0"
serde_json.workspace = true
smallvec = "1.8.1"
stringdex = { version = "0.0.1-alpha4" }
tempfile = "3"

View File

@@ -6,7 +6,7 @@ edition = "2021"
[dependencies]
toml = "0.7"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_json.workspace = true
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 = "1.0.85"
serde_json.workspace = true
spdx-rs = "0.5.1"

View File

@@ -27,7 +27,7 @@ regex = "1.0"
rustfix = "0.8.1"
semver = { version = "1.0.23", features = ["serde"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_json.workspace = true
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"

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 = "1.0.59"
serde_json.workspace = true
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 = "1.0.85"
serde_json.workspace = true
thiserror = "1"

View File

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

View File

@@ -12,4 +12,4 @@ fs-err = "2.8.1"
rustc-hash = "2.0.0"
rustdoc-json-types = { version = "0.1.0", path = "../../rustdoc-json-types" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.85"
serde_json.workspace = true

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 = "1.0.57"
serde_json.workspace = true
tempfile = "3.1.0"
walkdir = "2.3.1"

View File

@@ -15,7 +15,7 @@ fs_extra = "1"
camino = "1"
tar = "0.4"
xz = { version = "0.1", package = "xz2" }
serde_json = "1"
serde_json.workspace = true
glob = "0.3"
tempfile = "3.5"
derive_builder = "0.20"

View File

@@ -15,7 +15,7 @@ gimli = "0.32"
libc.workspace = true
object = "0.37"
regex = "1.11"
serde_json = "1.0"
serde_json.workspace = true
similar = "2.7"
wasmparser = { version = "0.236", default-features = false, features = ["std", "features", "validate"] }
# tidy-alphabetical-end