Skip to content

Commit 0537772

Browse files
kouteKiChjang
authored andcommitted
Bump tokio to 1.17.0 (paritytech#10894)
* Bump `tokio` to 0.17.0 * Revert version changes to scale-info Co-authored-by: Keith Yeung <[email protected]>
1 parent 0683050 commit 0537772

File tree

14 files changed

+26
-25
lines changed

14 files changed

+26
-25
lines changed

Cargo.lock

Lines changed: 12 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/node/cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ platforms = "2.0"
126126
async-std = { version = "1.10.0", features = ["attributes"] }
127127
soketto = "0.4.2"
128128
criterion = { version = "0.3.5", features = ["async_tokio"] }
129-
tokio = { version = "1.15", features = ["macros", "time", "parking_lot"] }
129+
tokio = { version = "1.17.0", features = ["macros", "time", "parking_lot"] }
130130
jsonrpsee-ws-client = "0.4.1"
131131
wait-timeout = "0.2"
132132
remote-externalities = { path = "../../../utils/frame/remote-externalities" }

client/cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ serde = "1.0.136"
2828
serde_json = "1.0.79"
2929
thiserror = "1.0.30"
3030
tiny-bip39 = "0.8.2"
31-
tokio = { version = "1.15", features = ["signal", "rt-multi-thread", "parking_lot"] }
31+
tokio = { version = "1.17.0", features = ["signal", "rt-multi-thread", "parking_lot"] }
3232

3333
parity-scale-codec = "3.0.0"
3434
sc-client-api = { version = "4.0.0-dev", path = "../api" }

client/consensus/manual-seal/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ sp-timestamp = { path = "../../../primitives/timestamp", version = "4.0.0-dev" }
4747
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus", version = "0.10.0-dev" }
4848

4949
[dev-dependencies]
50-
tokio = { version = "1.15.0", features = ["rt-multi-thread", "macros"] }
50+
tokio = { version = "1.17.0", features = ["rt-multi-thread", "macros"] }
5151
sc-basic-authorship = { path = "../../basic-authorship", version = "0.10.0-dev" }
5252
substrate-test-runtime-client = { path = "../../../test-utils/runtime/client", version = "2.0.0" }
5353
substrate-test-runtime-transaction-pool = { path = "../../../test-utils/runtime/transaction-pool", version = "2.0.0" }

client/finality-grandpa/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@ substrate-test-runtime-client = { version = "2.0.0", path = "../../test-utils/ru
6161
sp-tracing = { version = "5.0.0", path = "../../primitives/tracing" }
6262

6363
serde = "1.0.136"
64-
tokio = "1.15"
64+
tokio = "1.17.0"
6565
tempfile = "3.1.0"

client/offchain/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ sc-transaction-pool-api = { version = "4.0.0-dev", path = "../transaction-pool/a
4343
sp-tracing = { version = "5.0.0", path = "../../primitives/tracing" }
4444
sp-consensus = { version = "0.10.0-dev", path = "../../primitives/consensus/common" }
4545
substrate-test-runtime-client = { version = "2.0.0", path = "../../test-utils/runtime/client" }
46-
tokio = "1.15"
46+
tokio = "1.17.0"
4747
lazy_static = "1.4.0"
4848

4949
[features]

client/rpc-servers/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pubsub = { package = "jsonrpc-pubsub", version = "18.0.0" }
1919
log = "0.4.8"
2020
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.10.0-dev"}
2121
serde_json = "1.0.79"
22-
tokio = { version = "1.15", features = ["parking_lot"] }
22+
tokio = { version = "1.17.0", features = ["parking_lot"] }
2323
http = { package = "jsonrpc-http-server", version = "18.0.0" }
2424
ipc = { package = "jsonrpc-ipc-server", version = "18.0.0" }
2525
ws = { package = "jsonrpc-ws-server", version = "18.0.0" }

client/service/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ parity-util-mem = { version = "0.11.0", default-features = false, features = [
7878
"primitive-types",
7979
] }
8080
async-trait = "0.1.50"
81-
tokio = { version = "1.15", features = ["time", "rt-multi-thread", "parking_lot"] }
81+
tokio = { version = "1.17.0", features = ["time", "rt-multi-thread", "parking_lot"] }
8282
tempfile = "3.1.0"
8383
directories = "4.0.1"
8484

client/service/test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"]
1515
hex = "0.4"
1616
hex-literal = "0.3.4"
1717
tempfile = "3.1.0"
18-
tokio = { version = "1.15.0", features = ["time"] }
18+
tokio = { version = "1.17.0", features = ["time"] }
1919
log = "0.4.8"
2020
fdlimit = "0.2.1"
2121
parking_lot = "0.12.0"

test-utils/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ targets = ["x86_64-unknown-linux-gnu"]
1414
[dependencies]
1515
futures = "0.3.16"
1616
substrate-test-utils-derive = { version = "0.10.0-dev", path = "./derive" }
17-
tokio = { version = "1.10", features = ["macros", "time"] }
17+
tokio = { version = "1.17.0", features = ["macros", "time"] }
1818

1919
[dev-dependencies]
2020
sc-service = { version = "0.10.0-dev", path = "../client/service" }

0 commit comments

Comments
 (0)