Skip to content

Commit

Permalink
Switch tokio, tokio-test, tokio-stream, and tokio-util to wor…
Browse files Browse the repository at this point in the history
…kspace dep
  • Loading branch information
jasl committed May 6, 2024
1 parent f8f3466 commit 86704a7
Show file tree
Hide file tree
Showing 56 changed files with 72 additions and 68 deletions.
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -583,8 +583,12 @@ serde_derive = { version = "1.0.117" }
serde_json = { version = "1.0.114", default-features = false }
serde_yaml = { version = "0.9" }
syn = { version = "2.0.53" }
tracing = { version = "0.1.37", default-features = false }
thiserror = { version = "1.0.48" }
tokio = { version = "1.37.0", default-features = false }
tokio-test = "0.4.2"
tokio-stream = "0.1.14"
tokio-util = "0.7.8"
tracing = { version = "0.1.37", default-features = false }
tracing-log = "0.2.0"
tracing-subscriber = { version = "0.3.18" }

Expand Down
2 changes: 1 addition & 1 deletion bridges/relays/client-substrate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ log = { workspace = true }
num-traits = "0.2"
rand = { workspace = true, default-features = true }
scale-info = { version = "2.11.1", features = ["derive"] }
tokio = { version = "1.37", features = ["rt-multi-thread"] }
tokio = { workspace = true, default-features = true, features = ["rt-multi-thread"] }
thiserror = { workspace = true }

# Bridge dependencies
Expand Down
2 changes: 1 addition & 1 deletion bridges/relays/utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ num-traits = "0.2"
serde_json = { workspace = true, default-features = true }
sysinfo = "0.30"
time = { version = "0.3", features = ["formatting", "local-offset", "std"] }
tokio = { version = "1.37", features = ["rt"] }
tokio = { workspace = true, default-features = true, features = ["rt"] }
thiserror = { workspace = true }

# Bridge dependencies
Expand Down
2 changes: 1 addition & 1 deletion cumulus/client/network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ cumulus-relay-chain-interface = { path = "../relay-chain-interface" }

[dev-dependencies]
portpicker = "0.1.1"
tokio = { version = "1.32.0", features = ["macros"] }
tokio = { workspace = true, default-features = true, features = ["macros"] }
url = "2.4.0"

# Substrate
Expand Down
2 changes: 1 addition & 1 deletion cumulus/client/pov-recovery/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ cumulus-relay-chain-interface = { path = "../relay-chain-interface" }
async-trait = "0.1.79"

[dev-dependencies]
tokio = { version = "1.32.0", features = ["macros"] }
tokio = { workspace = true, default-features = true, features = ["macros"] }
portpicker = "0.1.1"

# Cumulus
Expand Down
2 changes: 1 addition & 1 deletion cumulus/client/relay-chain-minimal-node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ sp-consensus-babe = { path = "../../../substrate/primitives/consensus/babe" }
sp-consensus = { path = "../../../substrate/primitives/consensus/common" }
sp-runtime = { path = "../../../substrate/primitives/runtime" }
sp-blockchain = { path = "../../../substrate/primitives/blockchain" }
tokio = { version = "1.32.0", features = ["macros"] }
tokio = { workspace = true, default-features = true, features = ["macros"] }

# cumulus deps
cumulus-relay-chain-interface = { path = "../relay-chain-interface" }
Expand Down
4 changes: 2 additions & 2 deletions cumulus/client/relay-chain-rpc-interface/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ sc-client-api = { path = "../../../substrate/client/api" }
sc-rpc-api = { path = "../../../substrate/client/rpc-api" }
sc-service = { path = "../../../substrate/client/service" }

tokio = { version = "1.32.0", features = ["sync"] }
tokio-util = { version = "0.7.8", features = ["compat"] }
tokio = { workspace = true, default-features = true, features = ["sync"] }
tokio-util = { workspace = true, features = ["compat"] }

futures = "0.3.28"
futures-timer = "3.0.2"
Expand Down
2 changes: 1 addition & 1 deletion cumulus/polkadot-parachain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ substrate-build-script-utils = { path = "../../substrate/utils/build-script-util
assert_cmd = "2.0"
nix = { workspace = true, features = ["signal"] }
tempfile = "3.8.0"
tokio = { version = "1.32.0", features = ["macros", "parking_lot", "time"] }
tokio = { workspace = true, default-features = true, features = ["macros", "parking_lot", "time"] }
wait-timeout = "0.2"

[features]
Expand Down
2 changes: 1 addition & 1 deletion cumulus/test/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jsonrpsee = { version = "0.22", features = ["server"] }
rand = { workspace = true, default-features = true }
serde = { features = ["derive"], workspace = true, default-features = true }
serde_json = { workspace = true, default-features = true }
tokio = { version = "1.32.0", features = ["macros"] }
tokio = { workspace = true, default-features = true, features = ["macros"] }
tracing = { workspace = true, default-features = true }
url = "2.4.0"
tempfile = "3.8.0"
Expand Down
2 changes: 1 addition & 1 deletion polkadot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ tikv-jemallocator = { version = "0.5.0", features = ["unprefixed_malloc_on_suppo
assert_cmd = "2.0.4"
nix = { workspace = true, features = ["signal"] }
tempfile = "3.2.0"
tokio = "1.37"
tokio = { workspace = true, default-features = true }
substrate-rpc-client = { path = "../substrate/utils/frame/rpc/client" }
polkadot-core-primitives = { path = "core-primitives" }

Expand Down
2 changes: 1 addition & 1 deletion polkadot/node/core/pvf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ rand = { workspace = true, default-features = true }
slotmap = "1.0"
tempfile = "3.3.0"
thiserror = { workspace = true }
tokio = { version = "1.24.2", features = ["fs", "process"] }
tokio = { workspace = true, default-features = true, features = ["fs", "process"] }

parity-scale-codec = { version = "3.6.1", default-features = false, features = [
"derive",
Expand Down
2 changes: 1 addition & 1 deletion polkadot/node/jaeger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ sc-network = { path = "../../../substrate/client/network" }
sc-network-types = { path = "../../../substrate/client/network/types" }
sp-core = { path = "../../../substrate/primitives/core" }
thiserror = { workspace = true }
tokio = "1.37"
tokio = { workspace = true, default-features = true }
log = { workspace = true, default-features = true }
parity-scale-codec = { version = "3.6.1", default-features = false }
2 changes: 1 addition & 1 deletion polkadot/node/metrics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ log = { workspace = true, default-features = true }
assert_cmd = "2.0.4"
tempfile = "3.2.0"
hyper = { version = "0.14.20", default-features = false, features = ["http1", "tcp"] }
tokio = "1.37"
tokio = { workspace = true, default-features = true }
polkadot-test-service = { path = "../test/service", features = ["runtime-metrics"] }
substrate-test-utils = { path = "../../../substrate/test-utils" }
sc-service = { path = "../../../substrate/client/service" }
Expand Down
2 changes: 1 addition & 1 deletion polkadot/node/network/availability-recovery/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ workspace = true

[dependencies]
futures = "0.3.30"
tokio = "1.37"
tokio = { workspace = true, default-features = false }
schnellru = "0.2.1"
rand = { workspace = true, default-features = false }
fatality = "0.0.6"
Expand Down
2 changes: 1 addition & 1 deletion polkadot/node/network/collator-protocol/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ polkadot-node-subsystem-util = { path = "../../subsystem-util" }
polkadot-node-subsystem = { path = "../../subsystem" }
fatality = "0.0.6"
thiserror = { workspace = true }
tokio-util = "0.7.1"
tokio-util = { workspace = true }

[dev-dependencies]
log = { workspace = true, default-features = true }
Expand Down
2 changes: 1 addition & 1 deletion polkadot/node/subsystem-bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ bitvec = "1.0.1"
kvdb-memorydb = "0.13.0"

parity-scale-codec = { version = "3.6.1", features = ["derive", "std"] }
tokio = { version = "1.24.2", features = ["parking_lot", "rt-multi-thread"] }
tokio = { workspace = true, default-features = true, features = ["parking_lot", "rt-multi-thread"] }
clap-num = "1.0.2"
polkadot-node-subsystem-test-helpers = { path = "../subsystem-test-helpers" }
sp-keyring = { path = "../../../substrate/primitives/keyring" }
Expand Down
4 changes: 2 additions & 2 deletions polkadot/node/test/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ gum = { package = "tracing-gum", path = "../../gum" }
rand = { workspace = true, default-features = true }
serde_json = { workspace = true, default-features = true }
tempfile = "3.2.0"
tokio = "1.37"
tokio = { workspace = true, default-features = true }

# Polkadot dependencies
polkadot-overseer = { path = "../../overseer" }
Expand Down Expand Up @@ -63,7 +63,7 @@ substrate-test-client = { path = "../../../../substrate/test-utils/client" }
[dev-dependencies]
pallet-balances = { path = "../../../../substrate/frame/balances", default-features = false }
substrate-test-utils = { path = "../../../../substrate/test-utils" }
tokio = { version = "1.37", features = ["macros"] }
tokio = { workspace = true, default-features = true, features = ["macros"] }

[features]
runtime-metrics = ["polkadot-test-runtime/runtime-metrics"]
Expand Down
2 changes: 1 addition & 1 deletion polkadot/node/zombienet-backchannel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license.workspace = true
workspace = true

[dependencies]
tokio = { version = "1.24.2", default-features = false, features = ["macros", "net", "rt-multi-thread", "sync"] }
tokio = { workspace = true, default-features = false, features = ["macros", "net", "rt-multi-thread", "sync"] }
url = "2.3.1"
tokio-tungstenite = "0.20.1"
futures-util = "0.3.30"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ substrate-test-utils = { path = "../../../../../substrate/test-utils" }
sc-service = { path = "../../../../../substrate/client/service" }
sp-keyring = { path = "../../../../../substrate/primitives/keyring" }

tokio = { version = "1.24.2", features = ["macros"] }
tokio = { workspace = true, default-features = true, features = ["macros"] }
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ substrate-test-utils = { path = "../../../../../substrate/test-utils" }
sc-service = { path = "../../../../../substrate/client/service" }
sp-keyring = { path = "../../../../../substrate/primitives/keyring" }

tokio = { version = "1.24.2", features = ["macros"] }
tokio = { workspace = true, default-features = true, features = ["macros"] }
2 changes: 1 addition & 1 deletion polkadot/runtime/rococo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ sp-trie = { path = "../../../substrate/primitives/trie" }
separator = "0.4.1"
serde_json = { workspace = true, default-features = true }
sp-tracing = { path = "../../../substrate/primitives/tracing", default-features = false }
tokio = { version = "1.24.2", features = ["macros"] }
tokio = { workspace = true, default-features = true, features = ["macros"] }

[build-dependencies]
substrate-wasm-builder = { path = "../../../substrate/utils/wasm-builder", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion polkadot/runtime/westend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ tiny-keccak = { version = "2.0.2", features = ["keccak"] }
keyring = { package = "sp-keyring", path = "../../../substrate/primitives/keyring" }
serde_json = { workspace = true, default-features = true }
remote-externalities = { package = "frame-remote-externalities", path = "../../../substrate/utils/frame/remote-externalities" }
tokio = { version = "1.24.2", features = ["macros"] }
tokio = { workspace = true, default-features = true, features = ["macros"] }
sp-tracing = { path = "../../../substrate/primitives/tracing", default-features = false }

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion polkadot/utils/remote-ext-tests/bags-list/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ sp-core = { path = "../../../../substrate/primitives/core" }

clap = { version = "4.5.3", features = ["derive"] }
log = { workspace = true, default-features = true }
tokio = { version = "1.24.2", features = ["macros"] }
tokio = { workspace = true, default-features = true, features = ["macros"] }
4 changes: 2 additions & 2 deletions substrate/bin/node/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ regex = "1.6.0"
platforms = "3.0"
soketto = "0.7.1"
criterion = { workspace = true, default-features = true, features = ["async_tokio"] }
tokio = { version = "1.22.0", features = ["macros", "parking_lot", "time"] }
tokio-util = { version = "0.7.4", features = ["compat"] }
tokio = { workspace = true, default-features = true, features = ["macros", "parking_lot", "time"] }
tokio-util = { workspace = true, features = ["compat"] }
wait-timeout = "0.2"
substrate-rpc-client = { path = "../../../utils/frame/rpc/client" }
pallet-timestamp = { path = "../../../frame/timestamp" }
Expand Down
2 changes: 1 addition & 1 deletion substrate/client/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ serde_json = { workspace = true, default-features = true }
thiserror = { workspace = true }
# personal fork here as workaround for: https://github.com/rust-bitcoin/rust-bip39/pull/64
bip39 = { package = "parity-bip39", version = "2.0.1", features = ["rand"] }
tokio = { version = "1.22.0", features = ["parking_lot", "rt-multi-thread", "signal"] }
tokio = { workspace = true, default-features = true, features = ["parking_lot", "rt-multi-thread", "signal"] }
sc-client-api = { path = "../api" }
sc-client-db = { path = "../db", default-features = false }
sc-keystore = { path = "../keystore" }
Expand Down
2 changes: 1 addition & 1 deletion substrate/client/consensus/aura/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ sp-keyring = { path = "../../../primitives/keyring" }
sp-timestamp = { path = "../../../primitives/timestamp" }
sp-tracing = { path = "../../../primitives/tracing" }
substrate-test-runtime-client = { path = "../../../test-utils/runtime/client" }
tokio = { version = "1.22.0" }
tokio = { workspace = true, default-features = true }
2 changes: 1 addition & 1 deletion substrate/client/consensus/babe/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ sc-network-test = { path = "../../network/test" }
sp-timestamp = { path = "../../../primitives/timestamp" }
sp-tracing = { path = "../../../primitives/tracing" }
substrate-test-runtime-client = { path = "../../../test-utils/runtime/client" }
tokio = "1.37"
tokio = { workspace = true, default-features = true }
2 changes: 1 addition & 1 deletion substrate/client/consensus/babe/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ sp-runtime = { path = "../../../../primitives/runtime" }

[dev-dependencies]
serde_json = { workspace = true, default-features = true }
tokio = "1.37"
tokio = { workspace = true, default-features = true }
sc-consensus = { path = "../../common" }
sc-keystore = { path = "../../../keystore" }
sc-transaction-pool-api = { path = "../../../transaction-pool/api" }
Expand Down
2 changes: 1 addition & 1 deletion substrate/client/consensus/beefy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ sp-core = { path = "../../../primitives/core" }
sp-crypto-hashing = { path = "../../../primitives/crypto/hashing" }
sp-keystore = { path = "../../../primitives/keystore" }
sp-runtime = { path = "../../../primitives/runtime" }
tokio = "1.37"
tokio = { workspace = true, default-features = true }


[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion substrate/client/consensus/beefy/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ sp-runtime = { path = "../../../../primitives/runtime" }
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"] }
tokio = { workspace = true, default-features = true, features = ["macros"] }
2 changes: 1 addition & 1 deletion substrate/client/consensus/grandpa/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ sp-runtime = { path = "../../../primitives/runtime" }
assert_matches = "1.3.0"
finality-grandpa = { version = "0.16.2", features = ["derive-codec", "test-helpers"] }
serde = { workspace = true, default-features = true }
tokio = "1.37"
tokio = { workspace = true, default-features = true }
sc-network = { path = "../../network" }
sc-network-test = { path = "../../network/test" }
sp-keyring = { path = "../../../primitives/keyring" }
Expand Down
2 changes: 1 addition & 1 deletion substrate/client/consensus/grandpa/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ sp-core = { path = "../../../../primitives/core" }
sp-consensus-grandpa = { path = "../../../../primitives/consensus/grandpa" }
sp-keyring = { path = "../../../../primitives/keyring" }
substrate-test-runtime-client = { path = "../../../../test-utils/runtime/client" }
tokio = { version = "1.22.0", features = ["macros"] }
tokio = { workspace = true, default-features = true, features = ["macros"] }
2 changes: 1 addition & 1 deletion substrate/client/consensus/manual-seal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ sp-runtime = { path = "../../../primitives/runtime" }
sp-timestamp = { path = "../../../primitives/timestamp" }

[dev-dependencies]
tokio = { version = "1.22.0", features = ["macros", "rt-multi-thread"] }
tokio = { workspace = true, default-features = true, features = ["macros", "rt-multi-thread"] }
sc-basic-authorship = { path = "../../basic-authorship" }
substrate-test-runtime-client = { path = "../../../test-utils/runtime/client" }
substrate-test-runtime-transaction-pool = { path = "../../../test-utils/runtime/transaction-pool" }
2 changes: 1 addition & 1 deletion substrate/client/merkle-mountain-range/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ parking_lot = "0.12.1"
sc-block-builder = { path = "../block-builder" }
sp-tracing = { path = "../../primitives/tracing" }
substrate-test-runtime-client = { path = "../../test-utils/runtime/client" }
tokio = "1.37"
tokio = { workspace = true, default-features = true }
2 changes: 1 addition & 1 deletion substrate/client/network-gossip/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ sc-network-types = { path = "../network/types" }
sp-runtime = { path = "../../primitives/runtime" }

[dev-dependencies]
tokio = "1.37"
tokio = { workspace = true, default-features = true }
async-trait = "0.1.79"
codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"] }
quickcheck = { version = "1.0.3", default-features = false }
Expand Down
10 changes: 5 additions & 5 deletions substrate/client/network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ serde = { features = ["derive"], workspace = true, default-features = true }
serde_json = { workspace = true, default-features = true }
smallvec = "1.11.0"
thiserror = { workspace = true }
tokio = { version = "1.22.0", features = ["macros", "sync"] }
tokio-stream = "0.1.7"
tokio = { workspace = true, default-features = true, features = ["macros", "sync"] }
tokio-stream = { workspace = true }
unsigned-varint = { version = "0.7.2", features = ["asynchronous_codec", "futures"] }
zeroize = "1.4.3"
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus" }
Expand All @@ -70,9 +70,9 @@ mockall = "0.11.3"
multistream-select = "0.12.1"
rand = { workspace = true, default-features = true }
tempfile = "3.1.0"
tokio = { version = "1.22.0", features = ["macros"] }
tokio-util = { version = "0.7.4", features = ["compat"] }
tokio-test = "0.4.2"
tokio = { workspace = true, default-features = true, features = ["macros"] }
tokio-util = { workspace = true, features = ["compat"] }
tokio-test = { workspace = true }
sc-block-builder = { path = "../block-builder" }
sc-network-light = { path = "light" }
sc-network-sync = { path = "sync" }
Expand Down
4 changes: 2 additions & 2 deletions substrate/client/network/sync/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ prost = { workspace = true }
schnellru = "0.2.1"
smallvec = "1.11.0"
thiserror = { workspace = true }
tokio-stream = "0.1.14"
tokio = { version = "1.32.0", features = ["macros", "time"] }
tokio-stream = { workspace = true }
tokio = { workspace = true, default-features = true, features = ["macros", "time"] }
fork-tree = { path = "../../../utils/fork-tree" }
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus" }
sc-client-api = { path = "../../api" }
Expand Down
2 changes: 1 addition & 1 deletion substrate/client/network/test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ workspace = true
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
tokio = "1.37"
tokio = { workspace = true, default-features = true }
async-trait = "0.1.79"
futures = "0.3.30"
futures-timer = "3.0.1"
Expand Down
2 changes: 1 addition & 1 deletion substrate/client/offchain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ log = { workspace = true, default-features = true }
[dev-dependencies]
async-trait = "0.1"
lazy_static = "1.4.0"
tokio = "1.37"
tokio = { workspace = true, default-features = true }
sc-block-builder = { path = "../block-builder" }
sc-client-db = { path = "../db", default-features = true }
sc-transaction-pool = { path = "../transaction-pool" }
Expand Down
2 changes: 1 addition & 1 deletion substrate/client/rpc-servers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
jsonrpsee = { version = "0.22", features = ["server"] }
log = { workspace = true, default-features = true }
serde_json = { workspace = true, default-features = true }
tokio = { version = "1.22.0", features = ["parking_lot"] }
tokio = { workspace = true, default-features = true, features = ["parking_lot"] }
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus" }
tower-http = { version = "0.4.0", features = ["cors"] }
tower = { version = "0.4.13", features = ["util"] }
Expand Down
6 changes: 3 additions & 3 deletions substrate/client/rpc-spec-v2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ serde = { workspace = true, default-features = true }
hex = "0.4"
futures = "0.3.30"
parking_lot = "0.12.1"
tokio-stream = { version = "0.1.14", features = ["sync"] }
tokio = { version = "1.22.0", features = ["sync"] }
tokio = { workspace = true, default-features = true, features = ["sync"] }
tokio-stream = { workspace = true, features = ["sync"] }
array-bytes = { workspace = true, default-features = true }
log = { workspace = true, default-features = true }
futures-util = { version = "0.3.30", default-features = false }
Expand All @@ -47,7 +47,7 @@ schnellru = "0.2.1"
[dev-dependencies]
jsonrpsee = { version = "0.22", features = ["server", "ws-client"] }
serde_json = { workspace = true, default-features = true }
tokio = { version = "1.22.0", features = ["macros"] }
tokio = { workspace = true, default-features = true, features = ["macros"] }
substrate-test-runtime-client = { path = "../../test-utils/runtime/client" }
substrate-test-runtime = { path = "../../test-utils/runtime" }
substrate-test-runtime-transaction-pool = { path = "../../test-utils/runtime/transaction-pool" }
Expand Down
Loading

0 comments on commit 86704a7

Please sign in to comment.