Skip to content

Commit 6bbf084

Browse files
committed
deps: make sync and serde_json be ckb workspace dependencies
1 parent 17bd37a commit 6bbf084

File tree

18 files changed

+22
-20
lines changed

18 files changed

+22
-20
lines changed

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,12 +266,14 @@ secp256k1 = "0.30"
266266
semver = "1.0"
267267
sentry = "0.34.0"
268268
serde = "1.0"
269+
serde_json = "1.0"
269270
serde_plain = "0.3.0"
270271
slab = "0.4"
271272
sled = "0.34.7"
272273
snap = "1"
273274
sql-builder = "3.1"
274275
sqlx = "0.8.2"
276+
syn = "2.0"
275277
tera = "1"
276278
thiserror = "1.0.22"
277279
time = "0.3.36"

ckb-bin/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repository = "https://github.com/nervosnetwork/ckb"
1111
[dependencies]
1212
clap = { workspace = true, features = ["string", "wrap_help"] }
1313
serde = { workspace = true, features = ["derive"] }
14-
serde_json = { version = "1.0" }
14+
serde_json.workspace = true
1515
serde_plain.workspace = true
1616
toml.workspace = true
1717
ckb-app-config.workspace = true

devtools/doc/rpc-gen/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ repository = "https://github.com/nervosnetwork/ckb"
1111
[dependencies]
1212
ckb-rpc ={ workspace = true }
1313
schemars.workspace = true
14-
serde_json = "~1.0"
14+
serde_json.workspace = true
1515
tera.workspace = true
16-
syn = { version = "2.0.39", features = ["extra-traits", "full", "parsing", "visit"] }
16+
syn = { workspace = true, features = ["extra-traits", "full", "parsing", "visit"] }
1717
walkdir.workspace = true
1818
proc-macro2.workspace = true

miner/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ckb-pow.workspace = true
1818
rand.workspace = true
1919
rand_distr.workspace = true
2020
serde = { workspace = true, features = ["derive"] }
21-
serde_json = "1.0"
21+
serde_json.workspace = true
2222
ckb-jsonrpc-types.workspace = true
2323
hyper = { workspace = true, features = ["client", "http2", "http1", "server"] }
2424
hyper-util = { workspace = true, features = ["server-auto", "server-graceful", "client-legacy"] }

network/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ hickory-resolver = { workspace = true, optional = true }
3030
snap.workspace = true
3131
ckb-types.workspace = true
3232
ipnetwork.workspace = true
33-
serde_json = "1.0"
33+
serde_json.workspace = true
3434
bloom-filters.workspace = true
3535
ckb-spawn.workspace = true
3636
bitflags.workspace = true

rpc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ckb-network-alert.workspace = true
2323
ckb-app-config.workspace = true
2424
ckb-constant.workspace = true
2525
jsonrpc-core.workspace = true
26-
serde_json = "1.0"
26+
serde_json.workspace = true
2727
jsonrpc-utils = { workspace = true, features = ["server", "macros", "axum"] }
2828
ckb-jsonrpc-types.workspace = true
2929
ckb-verification.workspace = true

tx-pool/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ckb-channel.workspace = true
3636
ckb-db.workspace = true
3737
ckb-script.workspace = true
3838
sentry = { workspace = true, optional = true }
39-
serde_json = "1.0"
39+
serde_json.workspace = true
4040
rand.workspace = true
4141
hyper = { workspace = true, features = ["http1", "http2", "client"] }
4242
hyper-util = { workspace = true, features = ["client-legacy", "http1", "http2"] }

util/app-config/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repository = "https://github.com/nervosnetwork/ckb"
1010

1111
[dependencies]
1212
serde = { workspace = true, features = ["derive"] }
13-
serde_json = "1.0"
13+
serde_json.workspace = true
1414
toml.workspace = true
1515
path-clean.workspace = true
1616
ckb-logger.workspace = true

util/fixed-hash/core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ schemars.workspace = true
1616

1717

1818
[dev-dependencies]
19-
serde_json = "1.0"
19+
serde_json.workspace = true

0 commit comments

Comments
 (0)