Enable the parking_lot feature for tokio (#10855)

This commit is contained in:
Koute
2022-02-15 20:53:45 +09:00
committed by GitHub
parent b82cfbac4d
commit 43c3e709f9
5 changed files with 5 additions and 5 deletions
+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"] }
tokio = { version = "1.15", 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.74"
thiserror = "1.0.30"
tiny-bip39 = "0.8.2"
tokio = { version = "1.15", features = ["signal", "rt-multi-thread"] }
tokio = { version = "1.15", features = ["signal", "rt-multi-thread", "parking_lot"] }
parity-scale-codec = "2.3.1"
sc-client-api = { version = "4.0.0-dev", path = "../api" }
+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.74"
tokio = "1.15"
tokio = { version = "1.15", 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.10.2", default-features = false, features = [
"primitive-types",
] }
async-trait = "0.1.50"
tokio = { version = "1.15", features = ["time", "rt-multi-thread"] }
tokio = { version = "1.15", features = ["time", "rt-multi-thread", "parking_lot"] }
tempfile = "3.1.0"
directories = "4.0.1"
+1 -1
View File
@@ -18,7 +18,7 @@ prometheus = { version = "0.13.0", default-features = false }
futures-util = { version = "0.3.19", default-features = false, features = ["io"] }
thiserror = "1.0"
async-std = { version = "1.10.0", features = ["unstable"] }
tokio = "1.15"
tokio = { version = "1.15", features = ["parking_lot"] }
hyper = { version = "0.14.16", default-features = false, features = ["http1", "server", "tcp"] }
[dev-dependencies]