Skip to content

Commit daf6fe2

Browse files
committed
Add serde_json to [workspace.dependencies].
1 parent 12dc789 commit daf6fe2

File tree

19 files changed

+19
-18
lines changed

19 files changed

+19
-18
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ itertools = "0.12.1"
6868
libc = "=0.2.174"
6969
memchr = "2.7.5"
7070
rustc-literal-escaper = "0.0.5"
71+
serde_json = "1.0.142"
7172
thin-vec = "0.2.14"
7273
tracing = "0.1.37"
7374
# tidy-alphabetical-end

compiler/rustc_codegen_llvm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ rustc_span = { path = "../rustc_span" }
3838
rustc_symbol_mangling = { path = "../rustc_symbol_mangling" }
3939
rustc_target = { path = "../rustc_target" }
4040
serde = { version = "1", features = ["derive"] }
41-
serde_json = "1"
41+
serde_json.workspace = true
4242
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
4343
tracing.workspace = true
4444
# tidy-alphabetical-end

compiler/rustc_codegen_ssa/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ rustc_span = { path = "../rustc_span" }
3737
rustc_symbol_mangling = { path = "../rustc_symbol_mangling" }
3838
rustc_target = { path = "../rustc_target" }
3939
rustc_trait_selection = { path = "../rustc_trait_selection" }
40-
serde_json = "1.0.59"
40+
serde_json.workspace = true
4141
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
4242
tempfile = "3.2"
4343
thin-vec.workspace = true

compiler/rustc_driver_impl/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ rustc_span = { path = "../rustc_span" }
4949
rustc_target = { path = "../rustc_target" }
5050
rustc_trait_selection = { path = "../rustc_trait_selection" }
5151
rustc_ty_utils = { path = "../rustc_ty_utils" }
52-
serde_json = "1.0.59"
52+
serde_json.workspace = true
5353
shlex = "1.0"
5454
tracing.workspace = true
5555
# tidy-alphabetical-end

compiler/rustc_errors/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ rustc_macros = { path = "../rustc_macros" }
2121
rustc_serialize = { path = "../rustc_serialize" }
2222
rustc_span = { path = "../rustc_span" }
2323
serde = { version = "1.0.125", features = ["derive"] }
24-
serde_json = "1.0.59"
24+
serde_json.workspace = true
2525
termcolor = "1.2.0"
2626
termize = "0.2"
2727
tracing.workspace = true

compiler/rustc_feature/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ rustc_data_structures = { path = "../rustc_data_structures" }
99
rustc_hir = { path = "../rustc_hir" }
1010
rustc_span = { path = "../rustc_span" }
1111
serde = { version = "1.0.125", features = ["derive"] }
12-
serde_json = "1.0.59"
12+
serde_json.workspace = true
1313
# tidy-alphabetical-end

compiler/rustc_monomorphize/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ rustc_session = { path = "../rustc_session" }
1616
rustc_span = { path = "../rustc_span" }
1717
rustc_target = { path = "../rustc_target" }
1818
serde = "1"
19-
serde_json = "1"
19+
serde_json.workspace = true
2020
tracing.workspace = true
2121
# tidy-alphabetical-end

compiler/rustc_target/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ rustc_serialize = { path = "../rustc_serialize" }
1616
rustc_span = { path = "../rustc_span" }
1717
serde = "1.0.219"
1818
serde_derive = "1.0.219"
19-
serde_json = "1.0.59"
19+
serde_json.workspace = true
2020
serde_path_to_error = "0.1.17"
2121
tracing.workspace = true
2222
# tidy-alphabetical-end

src/librustdoc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pulldown-cmark-escape = { version = "0.11.0", features = ["simd"] }
1919
regex = "1"
2020
rustdoc-json-types = { path = "../rustdoc-json-types" }
2121
serde = { version = "1.0", features = ["derive"] }
22-
serde_json = "1.0"
22+
serde_json.workspace = true
2323
smallvec = "1.8.1"
2424
stringdex = { version = "0.0.1-alpha4" }
2525
tempfile = "3"

src/tools/build-manifest/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2021"
66
[dependencies]
77
toml = "0.7"
88
serde = { version = "1.0", features = ["derive"] }
9-
serde_json = "1.0"
9+
serde_json.workspace = true
1010
anyhow = "1.0.32"
1111
flate2 = "1.0.26"
1212
xz2 = "0.1.7"

0 commit comments

Comments
 (0)