Lift dependencies to the workspace (Part 2/x) (#3366)

Lifting some more dependencies to the workspace. Just using the
most-often updated ones for now.
It can be reproduced locally.

```sh
# First you can check if there would be semver incompatible bumps (looks good in this case):
$ zepter transpose dependency lift-to-workspace --ignore-errors syn quote thiserror "regex:^serde.*"

# Then apply the changes:
$ zepter transpose dependency lift-to-workspace --version-resolver=highest syn quote thiserror "regex:^serde.*" --fix

# And format the changes:
$ taplo format --config .config/taplo.toml
```

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
Oliver Tale-Yazdi
2024-02-20 15:28:05 +01:00
committed by GitHub
parent ef6ac94f52
commit e89d0fca35
185 changed files with 283 additions and 274 deletions
@@ -29,9 +29,9 @@ linked-hash-map = "0.5.4"
log = { workspace = true, default-features = true }
rand = { version = "0.8.5", features = ["small_rng"] }
rand_pcg = "0.3.1"
serde = "1.0.196"
serde_json = "1.0.113"
thiserror = "1.0.48"
serde = { workspace = true, default-features = true }
serde_json = { workspace = true, default-features = true }
thiserror = { workspace = true }
thousands = "0.2.0"
frame-benchmarking = { path = "../../../frame/benchmarking" }
frame-support = { path = "../../../frame/support" }
@@ -18,7 +18,7 @@ targets = ["x86_64-unknown-linux-gnu"]
jsonrpsee = { version = "0.22", features = ["http-client"] }
codec = { package = "parity-scale-codec", version = "3.6.1" }
log = { workspace = true, default-features = true }
serde = "1.0.196"
serde = { workspace = true, default-features = true }
sp-core = { path = "../../../primitives/core" }
sp-crypto-hashing = { path = "../../../primitives/crypto/hashing" }
sp-state-machine = { path = "../../../primitives/state-machine" }
+1 -1
View File
@@ -18,7 +18,7 @@ targets = ["x86_64-unknown-linux-gnu"]
jsonrpsee = { version = "0.22", features = ["ws-client"] }
sc-rpc-api = { path = "../../../../client/rpc-api" }
async-trait = "0.1.74"
serde = "1"
serde = { workspace = true, default-features = true }
sp-runtime = { path = "../../../../primitives/runtime" }
log = { workspace = true, default-features = true }
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
serde = { version = "1", features = ["derive"] }
serde = { features = ["derive"], workspace = true, default-features = true }
sp-core = { path = "../../../../primitives/core" }
sp-state-machine = { path = "../../../../primitives/state-machine" }
@@ -32,4 +32,4 @@ sc-rpc-api = { path = "../../../../client/rpc-api" }
sp-runtime = { path = "../../../../primitives/runtime" }
[dev-dependencies]
serde_json = "1.0.113"
serde_json = { workspace = true, default-features = true }
+1 -1
View File
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1" }
jsonrpsee = { version = "0.22", features = ["jsonrpsee-types"] }
serde = "1"
serde = { workspace = true, default-features = true }
frame-support = { path = "../../../../frame/support" }
sc-rpc-api = { path = "../../../../client/rpc-api" }
sp-storage = { path = "../../../../primitives/storage" }
@@ -42,8 +42,8 @@ clap = { version = "4.5.1", features = ["derive"] }
hex = { version = "0.4.3", default-features = false }
log = { workspace = true, default-features = true }
parity-scale-codec = "3.6.1"
serde = "1.0.196"
serde_json = "1.0.113"
serde = { workspace = true, default-features = true }
serde_json = { workspace = true, default-features = true }
zstd = { version = "0.12.4", default-features = false }
[dev-dependencies]