mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 13:31:10 +00:00
Lift dependencies to the workspace (Part 1) (#2070)
Changes (partial https://github.com/paritytech/polkadot-sdk/issues/994): - Set log to `0.4.20` everywhere - Lift `log` to the workspace Starting with a simpler one after seeing https://github.com/paritytech/polkadot-sdk/pull/2065 from @jsdw. This sets the `default-features` to `false` in the root and then overwrites that in each create to its original value. This is necessary since otherwise the `default` features are additive and its impossible to disable them in the crate again once they are enabled in the workspace. I am using a tool to do this, so its mostly a test to see that it works as expected. --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
8362a6810d
commit
e80c24733f
@@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
async-trait = "0.1.74"
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1" }
|
||||
futures = "0.3.21"
|
||||
log = "0.4.17"
|
||||
log = { workspace = true, default-features = true }
|
||||
thiserror = "1.0"
|
||||
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus" }
|
||||
sc-block-builder = { path = "../../block-builder" }
|
||||
|
||||
@@ -20,7 +20,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
async-trait = "0.1.74"
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive"] }
|
||||
futures = "0.3.21"
|
||||
log = "0.4.17"
|
||||
log = { workspace = true, default-features = true }
|
||||
num-bigint = "0.4.3"
|
||||
num-rational = "0.4.1"
|
||||
num-traits = "0.2.17"
|
||||
|
||||
@@ -18,7 +18,7 @@ async-trait = "0.1.74"
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive"] }
|
||||
fnv = "1.0.6"
|
||||
futures = "0.3"
|
||||
log = "0.4"
|
||||
log = { workspace = true, default-features = true }
|
||||
parking_lot = "0.12.1"
|
||||
thiserror = "1.0"
|
||||
wasm-timer = "0.2.5"
|
||||
|
||||
@@ -15,7 +15,7 @@ workspace = true
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive"] }
|
||||
futures = "0.3.21"
|
||||
jsonrpsee = { version = "0.20.3", features = ["client-core", "macros", "server"] }
|
||||
log = "0.4"
|
||||
log = { workspace = true, default-features = true }
|
||||
parking_lot = "0.12.1"
|
||||
serde = { version = "1.0.195", features = ["derive"] }
|
||||
thiserror = "1.0"
|
||||
|
||||
@@ -20,7 +20,7 @@ async-trait = "0.1.74"
|
||||
futures = { version = "0.3.21", features = ["thread-pool"] }
|
||||
futures-timer = "3.0.1"
|
||||
libp2p-identity = { version = "0.1.3", features = ["ed25519", "peerid"] }
|
||||
log = "0.4.17"
|
||||
log = { workspace = true, default-features = true }
|
||||
mockall = "0.11.3"
|
||||
parking_lot = "0.12.1"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
|
||||
@@ -24,7 +24,7 @@ dyn-clone = "1.0"
|
||||
finality-grandpa = { version = "0.16.2", features = ["derive-codec"] }
|
||||
futures = "0.3.21"
|
||||
futures-timer = "3.0.1"
|
||||
log = "0.4.17"
|
||||
log = { workspace = true, default-features = true }
|
||||
parity-scale-codec = { version = "3.6.1", features = ["derive"] }
|
||||
parking_lot = "0.12.1"
|
||||
rand = "0.8.5"
|
||||
|
||||
@@ -16,7 +16,7 @@ workspace = true
|
||||
finality-grandpa = { version = "0.16.2", features = ["derive-codec"] }
|
||||
futures = "0.3.16"
|
||||
jsonrpsee = { version = "0.20.3", features = ["client-core", "macros", "server"] }
|
||||
log = "0.4.8"
|
||||
log = { workspace = true, default-features = true }
|
||||
parity-scale-codec = { version = "3.6.1", features = ["derive"] }
|
||||
serde = { version = "1.0.195", features = ["derive"] }
|
||||
thiserror = "1.0"
|
||||
|
||||
@@ -22,7 +22,7 @@ async-trait = "0.1.74"
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1" }
|
||||
futures = "0.3.21"
|
||||
futures-timer = "3.0.1"
|
||||
log = "0.4.17"
|
||||
log = { workspace = true, default-features = true }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
thiserror = "1.0"
|
||||
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus" }
|
||||
|
||||
@@ -20,7 +20,7 @@ async-trait = "0.1.74"
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive"] }
|
||||
futures = "0.3.21"
|
||||
futures-timer = "3.0.1"
|
||||
log = "0.4.17"
|
||||
log = { workspace = true, default-features = true }
|
||||
parking_lot = "0.12.1"
|
||||
thiserror = "1.0"
|
||||
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus" }
|
||||
|
||||
@@ -21,7 +21,7 @@ async-trait = "0.1.74"
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1" }
|
||||
futures = "0.3.21"
|
||||
futures-timer = "3.0.1"
|
||||
log = "0.4.17"
|
||||
log = { workspace = true, default-features = true }
|
||||
sc-client-api = { path = "../../api" }
|
||||
sc-consensus = { path = "../common" }
|
||||
sc-telemetry = { path = "../../telemetry" }
|
||||
|
||||
Reference in New Issue
Block a user