Bump tokio to 1.17.0 (#4965)

* Bump `tokio` to 1.17.0

* Bump the `tokio` version in the test service too

* Revert changes to `bridges/relays/client-substrate/Cargo.toml`

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Koute
2022-02-22 20:45:16 +09:00
committed by GitHub
parent 9afb3a2ea7
commit 7adde98fb4
8 changed files with 23 additions and 22 deletions
+15 -14
View File
@@ -236,7 +236,7 @@ dependencies = [
"parking", "parking",
"polling", "polling",
"slab", "slab",
"socket2 0.4.2", "socket2 0.4.4",
"waker-fn", "waker-fn",
"winapi 0.3.9", "winapi 0.3.9",
] ]
@@ -2680,7 +2680,7 @@ dependencies = [
"httpdate", "httpdate",
"itoa 1.0.1", "itoa 1.0.1",
"pin-project-lite 0.2.7", "pin-project-lite 0.2.7",
"socket2 0.4.2", "socket2 0.4.4",
"tokio", "tokio",
"tower-service", "tower-service",
"tracing", "tracing",
@@ -3398,9 +3398,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
[[package]] [[package]]
name = "libc" name = "libc"
version = "0.2.112" version = "0.2.119"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1b03d17f364a3a042d5e5d46b053bbbf82c92c9430c592dd4c064dc6ee997125" checksum = "1bf2e165bb3457c8e098ea76f3e3bc9db55f87aa90d52d0e6be741470916aaa4"
[[package]] [[package]]
name = "libgit2-sys" name = "libgit2-sys"
@@ -3644,7 +3644,7 @@ dependencies = [
"log", "log",
"rand 0.8.5", "rand 0.8.5",
"smallvec", "smallvec",
"socket2 0.4.2", "socket2 0.4.4",
"void", "void",
] ]
@@ -3852,7 +3852,7 @@ dependencies = [
"libc", "libc",
"libp2p-core", "libp2p-core",
"log", "log",
"socket2 0.4.2", "socket2 0.4.4",
] ]
[[package]] [[package]]
@@ -4284,9 +4284,9 @@ dependencies = [
[[package]] [[package]]
name = "mio" name = "mio"
version = "0.7.14" version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8067b404fe97c70829f082dec8bcf4f71225d7eaea1d8645349cb76fa06205cc" checksum = "ba272f85fa0b41fc91872be579b3bbe0f56b792aa361a380eb669469f68dafb2"
dependencies = [ dependencies = [
"libc", "libc",
"log", "log",
@@ -9658,9 +9658,9 @@ dependencies = [
[[package]] [[package]]
name = "socket2" name = "socket2"
version = "0.4.2" version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5dc90fe6c7be1a323296982db1836d1ea9e47b6839496dde9a541bc496df3516" checksum = "66d72b759436ae32898a2af0a14218dbf55efde3feeb170eb623637db85ee1e0"
dependencies = [ dependencies = [
"libc", "libc",
"winapi 0.3.9", "winapi 0.3.9",
@@ -10908,19 +10908,20 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
[[package]] [[package]]
name = "tokio" name = "tokio"
version = "1.16.1" version = "1.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c27a64b625de6d309e8c57716ba93021dccf1b3b5c97edd6d3dd2d2135afc0a" checksum = "2af73ac49756f3f7c01172e34a23e5d0216f6c32333757c2c61feb2bbff5a5ee"
dependencies = [ dependencies = [
"bytes 1.1.0", "bytes 1.1.0",
"libc", "libc",
"memchr", "memchr",
"mio 0.7.14", "mio 0.8.0",
"num_cpus", "num_cpus",
"once_cell", "once_cell",
"parking_lot 0.11.2", "parking_lot 0.12.0",
"pin-project-lite 0.2.7", "pin-project-lite 0.2.7",
"signal-hook-registry", "signal-hook-registry",
"socket2 0.4.4",
"tokio-macros", "tokio-macros",
"winapi 0.3.9", "winapi 0.3.9",
] ]
+1 -1
View File
@@ -21,7 +21,7 @@ parity-util-mem = { version = "*", default-features = false, features = ["jemall
assert_cmd = "2.0.4" assert_cmd = "2.0.4"
nix = "0.23.1" nix = "0.23.1"
tempfile = "3.2.0" tempfile = "3.2.0"
tokio = "1.16.1" tokio = "1.17.0"
remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" } remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" }
polkadot-core-primitives = { path = "core-primitives" } polkadot-core-primitives = { path = "core-primitives" }
+1 -1
View File
@@ -28,7 +28,7 @@ assert_cmd = "2.0.4"
nix = "0.23.1" nix = "0.23.1"
tempfile = "3.2.0" tempfile = "3.2.0"
hyper = { version = "0.14.17", default-features = false, features = ["http1", "tcp"] } hyper = { version = "0.14.17", default-features = false, features = ["http1", "tcp"] }
tokio = "1.16" tokio = "1.17.0"
polkadot-test-service = { path = "../test/service", features=["runtime-metrics"]} polkadot-test-service = { path = "../test/service", features=["runtime-metrics"]}
substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" }
+2 -2
View File
@@ -11,7 +11,7 @@ hex = "0.4.3"
tracing = "0.1.31" tracing = "0.1.31"
rand = "0.8.5" rand = "0.8.5"
tempfile = "3.2.0" tempfile = "3.2.0"
tokio = "1.16.1" tokio = "1.17.0"
# Polkadot dependencies # Polkadot dependencies
polkadot-overseer = { path = "../../overseer" } polkadot-overseer = { path = "../../overseer" }
@@ -61,7 +61,7 @@ substrate-test-client = { git = "https://github.com/paritytech/substrate", branc
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
serde_json = "1.0.79" serde_json = "1.0.79"
substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "master" }
tokio = { version = "1.16", features = ["macros"] } tokio = { version = "1.17.0", features = ["macros"] }
[features] [features]
runtime-metrics=["polkadot-test-runtime/runtime-metrics"] runtime-metrics=["polkadot-test-runtime/runtime-metrics"]
@@ -9,7 +9,7 @@ readme = "README.md"
publish = false publish = false
[dependencies] [dependencies]
tokio = { version = "1.16.1", default-features = false, features = ["macros", "net", "rt-multi-thread", "sync"] } tokio = { version = "1.17.0", default-features = false, features = ["macros", "net", "rt-multi-thread", "sync"] }
url = "2.0.0" url = "2.0.0"
tokio-tungstenite = "0.16" tokio-tungstenite = "0.16"
futures-util = "0.3.21" futures-util = "0.3.21"
@@ -44,4 +44,4 @@ substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch
sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" }
tokio = { version = "1.16", features = ["macros"] } tokio = { version = "1.17.0", features = ["macros"] }
@@ -19,4 +19,4 @@ sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
clap = { version = "3.0", features = ["derive"] } clap = { version = "3.0", features = ["derive"] }
log = "0.4.14" log = "0.4.14"
tokio = { version = "1", features = ["macros"] } tokio = { version = "1.17.0", features = ["macros"] }
+1 -1
View File
@@ -14,7 +14,7 @@ paste = "1.0.6"
serde = "1.0.136" serde = "1.0.136"
serde_json = "1.0" serde_json = "1.0"
thiserror = "1.0.30" thiserror = "1.0.30"
tokio = { version = "1.16", features = ["macros", "rt-multi-thread", "sync"] } tokio = { version = "1.17.0", features = ["macros", "rt-multi-thread", "sync"] }
remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" } remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" }