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
+1 -1
View File
@@ -20,7 +20,7 @@ async-trait = "0.1.74"
codec = { package = "parity-scale-codec", version = "3.6.1" }
futures = "0.3.21"
log = { workspace = true, default-features = true }
thiserror = "1.0"
thiserror = { workspace = true }
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus" }
sc-block-builder = { path = "../../block-builder" }
sc-client-api = { path = "../../api" }
+1 -1
View File
@@ -25,7 +25,7 @@ num-bigint = "0.4.3"
num-rational = "0.4.1"
num-traits = "0.2.17"
parking_lot = "0.12.1"
thiserror = "1.0"
thiserror = { workspace = true }
fork-tree = { path = "../../../utils/fork-tree" }
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus" }
sc-client-api = { path = "../../api" }
@@ -18,8 +18,8 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] }
futures = "0.3.21"
serde = { version = "1.0.196", features = ["derive"] }
thiserror = "1.0"
serde = { features = ["derive"], workspace = true, default-features = true }
thiserror = { workspace = true }
sc-consensus-babe = { path = ".." }
sc-consensus-epochs = { path = "../../epochs" }
sc-rpc-api = { path = "../../../rpc-api" }
@@ -33,7 +33,7 @@ sp-keystore = { path = "../../../../primitives/keystore" }
sp-runtime = { path = "../../../../primitives/runtime" }
[dev-dependencies]
serde_json = "1.0.113"
serde_json = { workspace = true, default-features = true }
tokio = "1.22.0"
sc-consensus = { path = "../../common" }
sc-keystore = { path = "../../../keystore" }
+2 -2
View File
@@ -20,7 +20,7 @@ fnv = "1.0.6"
futures = "0.3"
log = { workspace = true, default-features = true }
parking_lot = "0.12.1"
thiserror = "1.0"
thiserror = { workspace = true }
wasm-timer = "0.2.5"
prometheus = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus" }
sc-client-api = { path = "../../api" }
@@ -44,7 +44,7 @@ tokio = "1.22.0"
[dev-dependencies]
serde = "1.0.196"
serde = { workspace = true, default-features = true }
tempfile = "3.1.0"
sc-block-builder = { path = "../../block-builder" }
sc-network-test = { path = "../../network/test" }
@@ -17,8 +17,8 @@ futures = "0.3.21"
jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] }
log = { workspace = true, default-features = true }
parking_lot = "0.12.1"
serde = { version = "1.0.196", features = ["derive"] }
thiserror = "1.0"
serde = { features = ["derive"], workspace = true, default-features = true }
thiserror = { workspace = true }
sc-consensus-beefy = { path = ".." }
sp-consensus-beefy = { path = "../../../../primitives/consensus/beefy" }
sc-rpc = { path = "../../../rpc" }
@@ -26,7 +26,7 @@ sp-core = { path = "../../../../primitives/core" }
sp-runtime = { path = "../../../../primitives/runtime" }
[dev-dependencies]
serde_json = "1.0.113"
serde_json = { workspace = true, default-features = true }
sc-rpc = { path = "../../../rpc", features = ["test-helpers"] }
substrate-test-runtime-client = { path = "../../../../test-utils/runtime/client" }
tokio = { version = "1.22.0", features = ["macros"] }
+2 -2
View File
@@ -23,8 +23,8 @@ libp2p-identity = { version = "0.1.3", features = ["ed25519", "peerid"] }
log = { workspace = true, default-features = true }
mockall = "0.11.3"
parking_lot = "0.12.1"
serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0.48"
serde = { features = ["derive"], workspace = true, default-features = true }
thiserror = { workspace = true }
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus" }
sc-client-api = { path = "../../api" }
sc-utils = { path = "../../utils" }
@@ -28,8 +28,8 @@ log = { workspace = true, default-features = true }
parity-scale-codec = { version = "3.6.1", features = ["derive"] }
parking_lot = "0.12.1"
rand = "0.8.5"
serde_json = "1.0.113"
thiserror = "1.0"
serde_json = { workspace = true, default-features = true }
thiserror = { workspace = true }
fork-tree = { path = "../../../utils/fork-tree" }
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus" }
sc-block-builder = { path = "../../block-builder" }
@@ -57,7 +57,7 @@ sp-runtime = { path = "../../../primitives/runtime" }
[dev-dependencies]
assert_matches = "1.3.0"
finality-grandpa = { version = "0.16.2", features = ["derive-codec", "test-helpers"] }
serde = "1.0.196"
serde = { workspace = true, default-features = true }
tokio = "1.22.0"
sc-network = { path = "../../network" }
sc-network-test = { path = "../../network/test" }
@@ -18,8 +18,8 @@ futures = "0.3.16"
jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] }
log = { workspace = true, default-features = true }
parity-scale-codec = { version = "3.6.1", features = ["derive"] }
serde = { version = "1.0.196", features = ["derive"] }
thiserror = "1.0"
serde = { features = ["derive"], workspace = true, default-features = true }
thiserror = { workspace = true }
sc-client-api = { path = "../../../api" }
sc-consensus-grandpa = { path = ".." }
sc-rpc = { path = "../../../rpc" }
@@ -23,8 +23,8 @@ codec = { package = "parity-scale-codec", version = "3.6.1" }
futures = "0.3.21"
futures-timer = "3.0.1"
log = { workspace = true, default-features = true }
serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0"
serde = { features = ["derive"], workspace = true, default-features = true }
thiserror = { workspace = true }
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus" }
sc-client-api = { path = "../../api" }
sc-consensus = { path = "../common" }
+1 -1
View File
@@ -22,7 +22,7 @@ futures = "0.3.21"
futures-timer = "3.0.1"
log = { workspace = true, default-features = true }
parking_lot = "0.12.1"
thiserror = "1.0"
thiserror = { workspace = true }
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus" }
sc-client-api = { path = "../../api" }
sc-consensus = { path = "../common" }