Bump tokio to 1.17.0 (#10894)

* Bump `tokio` to 0.17.0

* Revert version changes to scale-info

Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
This commit is contained in:
Koute
2022-03-29 06:42:01 +09:00
committed by GitHub
parent 13c78991f9
commit d932aa0cd4
14 changed files with 26 additions and 25 deletions
+12 -11
View File
@@ -3010,7 +3010,7 @@ dependencies = [
"httpdate",
"itoa 0.4.8",
"pin-project-lite 0.2.6",
"socket2 0.4.0",
"socket2 0.4.4",
"tokio",
"tower-service",
"tracing",
@@ -3914,7 +3914,7 @@ dependencies = [
"log 0.4.14",
"rand 0.8.4",
"smallvec 1.8.0",
"socket2 0.4.0",
"socket2 0.4.4",
"void",
]
@@ -4122,7 +4122,7 @@ dependencies = [
"libc",
"libp2p-core",
"log 0.4.14",
"socket2 0.4.0",
"socket2 0.4.4",
]
[[package]]
@@ -4559,9 +4559,9 @@ dependencies = [
[[package]]
name = "mio"
version = "0.7.13"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8c2bdb6314ec10835cd3293dd268473a835c02b7b352e788be788b3c6ca6bb16"
checksum = "ba272f85fa0b41fc91872be579b3bbe0f56b792aa361a380eb669469f68dafb2"
dependencies = [
"libc",
"log 0.4.14",
@@ -9623,9 +9623,9 @@ dependencies = [
[[package]]
name = "socket2"
version = "0.4.0"
version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9e3dfc207c526015c632472a77be09cf1b6e46866581aecae5cc38fb4235dea2"
checksum = "66d72b759436ae32898a2af0a14218dbf55efde3feeb170eb623637db85ee1e0"
dependencies = [
"libc",
"winapi 0.3.9",
@@ -11024,19 +11024,20 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
[[package]]
name = "tokio"
version = "1.15.0"
version = "1.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fbbf1c778ec206785635ce8ad57fe52b3009ae9e0c9f574a728f3049d3e55838"
checksum = "2af73ac49756f3f7c01172e34a23e5d0216f6c32333757c2c61feb2bbff5a5ee"
dependencies = [
"bytes 1.1.0",
"libc",
"memchr",
"mio 0.7.13",
"mio 0.8.0",
"num_cpus",
"once_cell",
"parking_lot 0.11.2",
"parking_lot 0.12.0",
"pin-project-lite 0.2.6",
"signal-hook-registry",
"socket2 0.4.4",
"tokio-macros",
"winapi 0.3.9",
]
+1 -1
View File
@@ -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" }
+1 -1
View File
@@ -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" }
@@ -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" }
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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]
+1 -1
View File
@@ -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" }
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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" }
+1 -1
View File
@@ -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" }
@@ -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" }
+1 -1
View File
@@ -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"
+2 -2
View File
@@ -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"] }