Skip to content

Commit

Permalink
Bump tokio to 1.17.0 (paritytech#10894)
Browse files Browse the repository at this point in the history
* Bump `tokio` to 0.17.0

* Revert version changes to scale-info

Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
  • Loading branch information
2 people authored and ark0f committed Feb 27, 2023
1 parent 0683050 commit 0537772
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 25 deletions.
23 changes: 12 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bin/node/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ platforms = "2.0"
async-std = { version = "1.10.0", features = ["attributes"] }
soketto = "0.4.2"
criterion = { version = "0.3.5", features = ["async_tokio"] }
tokio = { version = "1.15", features = ["macros", "time", "parking_lot"] }
tokio = { version = "1.17.0", features = ["macros", "time", "parking_lot"] }
jsonrpsee-ws-client = "0.4.1"
wait-timeout = "0.2"
remote-externalities = { path = "../../../utils/frame/remote-externalities" }
Expand Down
2 changes: 1 addition & 1 deletion client/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ serde = "1.0.136"
serde_json = "1.0.79"
thiserror = "1.0.30"
tiny-bip39 = "0.8.2"
tokio = { version = "1.15", features = ["signal", "rt-multi-thread", "parking_lot"] }
tokio = { version = "1.17.0", features = ["signal", "rt-multi-thread", "parking_lot"] }

parity-scale-codec = "3.0.0"
sc-client-api = { version = "4.0.0-dev", path = "../api" }
Expand Down
2 changes: 1 addition & 1 deletion client/consensus/manual-seal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ sp-timestamp = { path = "../../../primitives/timestamp", version = "4.0.0-dev" }
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus", version = "0.10.0-dev" }

[dev-dependencies]
tokio = { version = "1.15.0", features = ["rt-multi-thread", "macros"] }
tokio = { version = "1.17.0", features = ["rt-multi-thread", "macros"] }
sc-basic-authorship = { path = "../../basic-authorship", version = "0.10.0-dev" }
substrate-test-runtime-client = { path = "../../../test-utils/runtime/client", version = "2.0.0" }
substrate-test-runtime-transaction-pool = { path = "../../../test-utils/runtime/transaction-pool", version = "2.0.0" }
2 changes: 1 addition & 1 deletion client/finality-grandpa/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ substrate-test-runtime-client = { version = "2.0.0", path = "../../test-utils/ru
sp-tracing = { version = "5.0.0", path = "../../primitives/tracing" }

serde = "1.0.136"
tokio = "1.15"
tokio = "1.17.0"
tempfile = "3.1.0"
2 changes: 1 addition & 1 deletion client/offchain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ sc-transaction-pool-api = { version = "4.0.0-dev", path = "../transaction-pool/a
sp-tracing = { version = "5.0.0", path = "../../primitives/tracing" }
sp-consensus = { version = "0.10.0-dev", path = "../../primitives/consensus/common" }
substrate-test-runtime-client = { version = "2.0.0", path = "../../test-utils/runtime/client" }
tokio = "1.15"
tokio = "1.17.0"
lazy_static = "1.4.0"

[features]
Expand Down
2 changes: 1 addition & 1 deletion client/rpc-servers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pubsub = { package = "jsonrpc-pubsub", version = "18.0.0" }
log = "0.4.8"
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.10.0-dev"}
serde_json = "1.0.79"
tokio = { version = "1.15", features = ["parking_lot"] }
tokio = { version = "1.17.0", features = ["parking_lot"] }
http = { package = "jsonrpc-http-server", version = "18.0.0" }
ipc = { package = "jsonrpc-ipc-server", version = "18.0.0" }
ws = { package = "jsonrpc-ws-server", version = "18.0.0" }
2 changes: 1 addition & 1 deletion client/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ parity-util-mem = { version = "0.11.0", default-features = false, features = [
"primitive-types",
] }
async-trait = "0.1.50"
tokio = { version = "1.15", features = ["time", "rt-multi-thread", "parking_lot"] }
tokio = { version = "1.17.0", features = ["time", "rt-multi-thread", "parking_lot"] }
tempfile = "3.1.0"
directories = "4.0.1"

Expand Down
2 changes: 1 addition & 1 deletion client/service/test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"]
hex = "0.4"
hex-literal = "0.3.4"
tempfile = "3.1.0"
tokio = { version = "1.15.0", features = ["time"] }
tokio = { version = "1.17.0", features = ["time"] }
log = "0.4.8"
fdlimit = "0.2.1"
parking_lot = "0.12.0"
Expand Down
2 changes: 1 addition & 1 deletion test-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
futures = "0.3.16"
substrate-test-utils-derive = { version = "0.10.0-dev", path = "./derive" }
tokio = { version = "1.10", features = ["macros", "time"] }
tokio = { version = "1.17.0", features = ["macros", "time"] }

[dev-dependencies]
sc-service = { version = "0.10.0-dev", path = "../client/service" }
Expand Down
2 changes: 1 addition & 1 deletion test-utils/test-crate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ publish = false
targets = ["x86_64-unknown-linux-gnu"]

[dev-dependencies]
tokio = { version = "1.15", features = ["macros"] }
tokio = { version = "1.17.0", features = ["macros"] }
test-utils = { version = "4.0.0-dev", path = "..", package = "substrate-test-utils" }
sc-service = { version = "0.10.0-dev", path = "../../client/service" }
2 changes: 1 addition & 1 deletion utils/frame/remote-externalities/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ sp-runtime = { version = "6.0.0", path = "../../../primitives/runtime" }
sp-version = { version = "5.0.0", path = "../../../primitives/version" }

[dev-dependencies]
tokio = { version = "1.15", features = ["macros", "rt-multi-thread"] }
tokio = { version = "1.17.0", features = ["macros", "rt-multi-thread"] }
pallet-elections-phragmen = { path = "../../../frame/elections-phragmen", version = "5.0.0-dev" }
frame-support = { path = "../../../frame/support", version = "4.0.0-dev" }

Expand Down
2 changes: 1 addition & 1 deletion utils/frame/rpc/support/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ sc-rpc-api = { version = "0.10.0-dev", path = "../../../../client/rpc-api" }
[dev-dependencies]
frame-system = { version = "4.0.0-dev", path = "../../../../frame/system" }
scale-info = "2.0.1"
tokio = "1.15"
tokio = "1.17.0"
4 changes: 2 additions & 2 deletions utils/prometheus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ log = "0.4.8"
prometheus = { version = "0.13.0", default-features = false }
futures-util = { version = "0.3.19", default-features = false, features = ["io"] }
thiserror = "1.0"
tokio = { version = "1.15", features = ["parking_lot"] }
tokio = { version = "1.17.0", features = ["parking_lot"] }
hyper = { version = "0.14.16", default-features = false, features = ["http1", "server", "tcp"] }

[dev-dependencies]
hyper = { version = "0.14.16", features = ["client"] }
tokio = { version = "1.15", features = ["rt-multi-thread"] }
tokio = { version = "1.17.0", features = ["rt-multi-thread"] }

0 comments on commit 0537772

Please sign in to comment.