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
@@ -19,7 +19,7 @@ polkadot-node-subsystem-util = { path = "../subsystem-util" }
polkadot-primitives = { path = "../../primitives" }
sp-core = { path = "../../../substrate/primitives/core" }
sp-maybe-compressed-blob = { path = "../../../substrate/primitives/maybe-compressed-blob" }
thiserror = "1.0.48"
thiserror = { workspace = true }
parity-scale-codec = { version = "3.6.1", default-features = false, features = ["bit-vec", "derive"] }
[dev-dependencies]
@@ -20,7 +20,7 @@ merlin = "3.0"
schnorrkel = "0.11.4"
kvdb = "0.13.0"
derive_more = "0.99.17"
thiserror = "1.0.48"
thiserror = { workspace = true }
itertools = "0.10.5"
polkadot-node-subsystem = { path = "../../subsystem" }
+1 -1
View File
@@ -13,7 +13,7 @@ workspace = true
futures = "0.3.21"
futures-timer = "3.0.2"
kvdb = "0.13.0"
thiserror = "1.0.48"
thiserror = { workspace = true }
gum = { package = "tracing-gum", path = "../../gum" }
bitvec = "1.0.0"
+1 -1
View File
@@ -20,7 +20,7 @@ erasure-coding = { package = "polkadot-erasure-coding", path = "../../../erasure
statement-table = { package = "polkadot-statement-table", path = "../../../statement-table" }
bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] }
gum = { package = "tracing-gum", path = "../../gum" }
thiserror = "1.0.48"
thiserror = { workspace = true }
fatality = "0.0.6"
[dev-dependencies]
@@ -17,7 +17,7 @@ polkadot-node-subsystem = { path = "../../subsystem" }
polkadot-node-subsystem-util = { path = "../../subsystem-util" }
sp-keystore = { path = "../../../../substrate/primitives/keystore" }
wasm-timer = "0.2.5"
thiserror = "1.0.48"
thiserror = { workspace = true }
[dev-dependencies]
polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" }
@@ -18,7 +18,7 @@ polkadot-node-primitives = { path = "../../primitives" }
polkadot-node-subsystem = { path = "../../subsystem" }
polkadot-node-subsystem-util = { path = "../../subsystem-util" }
kvdb = "0.13.0"
thiserror = "1.0.48"
thiserror = { workspace = true }
parity-scale-codec = "3.6.1"
[dev-dependencies]
@@ -14,7 +14,7 @@ futures = "0.3.21"
gum = { package = "tracing-gum", path = "../../gum" }
parity-scale-codec = "3.6.1"
kvdb = "0.13.0"
thiserror = "1.0.48"
thiserror = { workspace = true }
schnellru = "0.2.1"
fatality = "0.0.6"
@@ -13,7 +13,7 @@ workspace = true
futures = "0.3.21"
futures-timer = "3.0.2"
gum = { package = "tracing-gum", path = "../../gum" }
thiserror = "1.0.48"
thiserror = { workspace = true }
async-trait = "0.1.74"
polkadot-node-subsystem = { path = "../../subsystem" }
polkadot-overseer = { path = "../../overseer" }
@@ -13,7 +13,7 @@ workspace = true
futures = "0.3.19"
gum = { package = "tracing-gum", path = "../../gum" }
parity-scale-codec = "3.6.4"
thiserror = "1.0.48"
thiserror = { workspace = true }
fatality = "0.0.6"
bitvec = "1"
+1 -1
View File
@@ -13,7 +13,7 @@ workspace = true
bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] }
futures = "0.3.21"
gum = { package = "tracing-gum", path = "../../gum" }
thiserror = "1.0.48"
thiserror = { workspace = true }
polkadot-primitives = { path = "../../../primitives" }
polkadot-node-primitives = { path = "../../primitives" }
polkadot-node-subsystem = { path = "../../subsystem" }
+1 -1
View File
@@ -11,7 +11,7 @@ workspace = true
[dependencies]
futures = "0.3.21"
thiserror = "1.0.48"
thiserror = { workspace = true }
gum = { package = "tracing-gum", path = "../../gum" }
polkadot-node-primitives = { path = "../../primitives" }
+1 -1
View File
@@ -23,7 +23,7 @@ pin-project = "1.0.9"
rand = "0.8.5"
slotmap = "1.0"
tempfile = "3.3.0"
thiserror = "1.0.31"
thiserror = { workspace = true }
tokio = { version = "1.24.2", features = ["fs", "process"] }
parity-scale-codec = { version = "3.6.1", default-features = false, features = ["derive"] }
+1 -1
View File
@@ -15,7 +15,7 @@ cpu-time = "1.0.0"
futures = "0.3.21"
gum = { package = "tracing-gum", path = "../../../gum" }
libc = "0.2.152"
thiserror = "1.0.31"
thiserror = { workspace = true }
parity-scale-codec = { version = "3.6.1", default-features = false, features = ["derive"] }
+2 -2
View File
@@ -16,8 +16,8 @@ targets = ["x86_64-unknown-linux-gnu"]
proc-macro = true
[dependencies]
syn = { version = "2.0.49", features = ["extra-traits", "full"] }
quote = "1.0.28"
syn = { features = ["extra-traits", "full"], workspace = true }
quote = { workspace = true }
proc-macro2 = "1.0.56"
proc-macro-crate = "3.0.0"
expander = "2.0.0"
+1 -1
View File
@@ -17,7 +17,7 @@ polkadot-primitives = { path = "../../primitives" }
polkadot-node-primitives = { path = "../primitives" }
sc-network = { path = "../../../substrate/client/network" }
sp-core = { path = "../../../substrate/primitives/core" }
thiserror = "1.0.48"
thiserror = { workspace = true }
tokio = "1.24.2"
log = { workspace = true, default-features = true }
parity-scale-codec = { version = "3.6.1", default-features = false }
@@ -21,7 +21,7 @@ polkadot-node-subsystem-util = { path = "../../subsystem-util" }
polkadot-node-primitives = { path = "../../primitives" }
sp-core = { path = "../../../../substrate/primitives/core", features = ["std"] }
sp-keystore = { path = "../../../../substrate/primitives/keystore" }
thiserror = "1.0.48"
thiserror = { workspace = true }
rand = "0.8.5"
derive_more = "0.99.17"
schnellru = "0.2.1"
@@ -15,7 +15,7 @@ tokio = "1.24.2"
schnellru = "0.2.1"
rand = "0.8.5"
fatality = "0.0.6"
thiserror = "1.0.48"
thiserror = { workspace = true }
async-trait = "0.1.74"
gum = { package = "tracing-gum", path = "../../gum" }
+1 -1
View File
@@ -25,7 +25,7 @@ polkadot-overseer = { path = "../../overseer" }
parking_lot = "0.12.1"
bytes = "1"
fatality = "0.0.6"
thiserror = "1"
thiserror = { workspace = true }
[dev-dependencies]
assert_matches = "1.4.0"
@@ -25,7 +25,7 @@ polkadot-node-primitives = { path = "../../primitives" }
polkadot-node-subsystem-util = { path = "../../subsystem-util" }
polkadot-node-subsystem = { path = "../../subsystem" }
fatality = "0.0.6"
thiserror = "1.0.48"
thiserror = { workspace = true }
tokio-util = "0.7.1"
[dev-dependencies]
@@ -24,7 +24,7 @@ polkadot-node-primitives = { path = "../../primitives" }
sc-network = { path = "../../../../substrate/client/network" }
sp-application-crypto = { path = "../../../../substrate/primitives/application-crypto" }
sp-keystore = { path = "../../../../substrate/primitives/keystore" }
thiserror = "1.0.48"
thiserror = { workspace = true }
fatality = "0.0.6"
schnellru = "0.2.1"
indexmap = "2.0.0"
+1 -1
View File
@@ -21,7 +21,7 @@ sc-network = { path = "../../../../substrate/client/network" }
sc-authority-discovery = { path = "../../../../substrate/client/authority-discovery" }
strum = { version = "0.24", features = ["derive"] }
futures = "0.3.21"
thiserror = "1.0.48"
thiserror = { workspace = true }
fatality = "0.0.6"
rand = "0.8"
derive_more = "0.99"
@@ -23,7 +23,7 @@ polkadot-node-network-protocol = { path = "../protocol" }
arrayvec = "0.7.4"
indexmap = "2.0.0"
parity-scale-codec = { version = "3.6.1", default-features = false, features = ["derive"] }
thiserror = "1.0.48"
thiserror = { workspace = true }
fatality = "0.0.6"
bitvec = "1"
+2 -2
View File
@@ -22,9 +22,9 @@ sp-maybe-compressed-blob = { path = "../../../substrate/primitives/maybe-compres
sp-runtime = { path = "../../../substrate/primitives/runtime" }
polkadot-parachain-primitives = { path = "../../parachain", default-features = false }
schnorrkel = "0.11.4"
thiserror = "1.0.48"
thiserror = { workspace = true }
bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] }
serde = { version = "1.0.196", features = ["derive"] }
serde = { features = ["derive"], workspace = true, default-features = true }
[target.'cfg(not(target_os = "unknown"))'.dependencies]
zstd = { version = "0.12.4", default-features = false }
+3 -3
View File
@@ -85,9 +85,9 @@ is_executable = "1.0.1"
gum = { package = "tracing-gum", path = "../gum" }
log = { workspace = true, default-features = true }
schnellru = "0.2.1"
serde = { version = "1.0.196", features = ["derive"] }
serde_json = "1.0.113"
thiserror = "1.0.48"
serde = { features = ["derive"], workspace = true, default-features = true }
serde_json = { workspace = true, default-features = true }
thiserror = { workspace = true }
kvdb = "0.13.0"
kvdb-rocksdb = { version = "0.19.0", optional = true }
parity-db = { version = "0.4.12", optional = true }
+2 -2
View File
@@ -65,8 +65,8 @@ itertools = "0.11.0"
polkadot-primitives-test-helpers = { path = "../../primitives/test-helpers" }
prometheus_endpoint = { package = "substrate-prometheus-endpoint", path = "../../../substrate/utils/prometheus" }
prometheus = { version = "0.13.0", default-features = false }
serde = "1.0.196"
serde_yaml = "0.9"
serde = { workspace = true, default-features = true }
serde_yaml = { workspace = true }
polkadot-node-core-approval-voting = { path = "../core/approval-voting" }
polkadot-approval-distribution = { path = "../network/approval-distribution" }
+1 -1
View File
@@ -28,6 +28,6 @@ sc-client-api = { path = "../../../substrate/client/api" }
sc-transaction-pool-api = { path = "../../../substrate/client/transaction-pool/api" }
smallvec = "1.8.0"
substrate-prometheus-endpoint = { path = "../../../substrate/utils/prometheus" }
thiserror = "1.0.48"
thiserror = { workspace = true }
async-trait = "0.1.74"
bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] }
+1 -1
View File
@@ -18,7 +18,7 @@ parity-scale-codec = { version = "3.6.1", default-features = false, features = [
parking_lot = "0.12.1"
pin-project = "1.0.9"
rand = "0.8.5"
thiserror = "1.0.48"
thiserror = { workspace = true }
fatality = "0.0.6"
gum = { package = "tracing-gum", path = "../gum" }
derive_more = "0.99.17"
+1 -1
View File
@@ -14,7 +14,7 @@ futures = "0.3.21"
hex = "0.4.3"
gum = { package = "tracing-gum", path = "../../gum" }
rand = "0.8.5"
serde_json = "1.0.113"
serde_json = { workspace = true, default-features = true }
tempfile = "3.2.0"
tokio = "1.24.2"
@@ -19,7 +19,7 @@ futures-util = "0.3.30"
lazy_static = "1.4.0"
parity-scale-codec = { version = "3.6.1", features = ["derive"] }
reqwest = { version = "0.11", features = ["rustls-tls"], default-features = false }
thiserror = "1.0.48"
thiserror = { workspace = true }
gum = { package = "tracing-gum", path = "../gum" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.113"
serde = { features = ["derive"], workspace = true, default-features = true }
serde_json = { workspace = true, default-features = true }