mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 20:01:08 +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
@@ -13,7 +13,7 @@ workspace = true
|
||||
|
||||
[dependencies]
|
||||
array-bytes = { version = "6.1", optional = true }
|
||||
log = { version = "0.4", default-features = false, optional = true }
|
||||
log = { optional = true, workspace = true }
|
||||
hash-db = { version = "0.16.0", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
@@ -26,7 +26,7 @@ Inflector = "0.11.4"
|
||||
itertools = "0.10.3"
|
||||
lazy_static = "1.4.0"
|
||||
linked-hash-map = "0.5.4"
|
||||
log = "0.4.17"
|
||||
log = { workspace = true, default-features = true }
|
||||
rand = { version = "0.8.5", features = ["small_rng"] }
|
||||
rand_pcg = "0.3.1"
|
||||
serde = "1.0.195"
|
||||
|
||||
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
[dependencies]
|
||||
jsonrpsee = { version = "0.20.3", features = ["http-client"] }
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1" }
|
||||
log = "0.4.17"
|
||||
log = { workspace = true, default-features = true }
|
||||
serde = "1.0.195"
|
||||
sp-core = { path = "../../../primitives/core" }
|
||||
sp-crypto-hashing = { path = "../../../primitives/crypto/hashing" }
|
||||
|
||||
@@ -20,7 +20,7 @@ sc-rpc-api = { path = "../../../../client/rpc-api" }
|
||||
async-trait = "0.1.74"
|
||||
serde = "1"
|
||||
sp-runtime = { path = "../../../../primitives/runtime" }
|
||||
log = "0.4"
|
||||
log = { workspace = true, default-features = true }
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { version = "1.22.0", features = ["macros", "rt-multi-thread", "sync"] }
|
||||
|
||||
@@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1" }
|
||||
jsonrpsee = { version = "0.20.3", features = ["client-core", "macros", "server"] }
|
||||
futures = "0.3.21"
|
||||
log = "0.4.17"
|
||||
log = { workspace = true, default-features = true }
|
||||
frame-system-rpc-runtime-api = { path = "../../../../frame/system/rpc/runtime-api" }
|
||||
sc-rpc-api = { path = "../../../../client/rpc-api" }
|
||||
sc-transaction-pool-api = { path = "../../../../client/transaction-pool/api" }
|
||||
|
||||
@@ -40,7 +40,7 @@ substrate-rpc-client = { path = "../../rpc/client" }
|
||||
async-trait = "0.1.74"
|
||||
clap = { version = "4.4.18", features = ["derive"] }
|
||||
hex = { version = "0.4.3", default-features = false }
|
||||
log = "0.4.17"
|
||||
log = { workspace = true, default-features = true }
|
||||
parity-scale-codec = "3.6.1"
|
||||
serde = "1.0.195"
|
||||
serde_json = "1.0.111"
|
||||
|
||||
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
hyper = { version = "0.14.16", default-features = false, features = ["http1", "server", "tcp"] }
|
||||
log = "0.4.17"
|
||||
log = { workspace = true, default-features = true }
|
||||
prometheus = { version = "0.13.0", default-features = false }
|
||||
thiserror = "1.0"
|
||||
tokio = { version = "1.22.0", features = ["parking_lot"] }
|
||||
|
||||
Reference in New Issue
Block a user