diff --git a/Cargo.lock b/Cargo.lock index e313d3b708f9..9ccf7e513b23 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -204,7 +204,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44501a9f7961bb539b67be0c428b3694e26557046a52759ca7eaf790030a64cc" dependencies = [ "async-macros", - "async-task 1.3.1", + "async-task", "crossbeam-channel 0.3.9", "crossbeam-deque", "crossbeam-utils 0.6.6", @@ -225,26 +225,28 @@ dependencies = [ [[package]] name = "async-std" -version = "1.6.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a45cee2749d880d7066e328a7e161c7470ced883b2fd000ca4643e9f1dd5083a" +checksum = "538ecb01eb64eecd772087e5b6f7540cbc917f047727339a472dafed2185b267" dependencies = [ - "async-task 3.0.0", + "async-task", + "broadcaster", + "crossbeam-channel 0.4.2", + "crossbeam-deque", "crossbeam-utils 0.7.2", - "futures-channel", "futures-core", "futures-io", - "futures-timer 3.0.2", + "futures-timer 2.0.2", "kv-log-macro", "log 0.4.8", "memchr", + "mio", + "mio-uds", "num_cpus", "once_cell", "pin-project-lite", "pin-utils", "slab", - "smol", - "wasm-bindgen-futures", ] [[package]] @@ -257,12 +259,6 @@ dependencies = [ "winapi 0.3.8", ] -[[package]] -name = "async-task" -version = "3.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c17772156ef2829aadc587461c7753af20b7e8db1529bc66855add962a3b35d3" - [[package]] name = "async-tls" version = "0.7.0" @@ -459,6 +455,20 @@ dependencies = [ "byte-tools", ] +[[package]] +name = "broadcaster" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9c972e21e0d055a36cf73e4daae870941fe7a8abcd5ac3396aab9e4c126bd87" +dependencies = [ + "futures-channel", + "futures-core", + "futures-sink", + "futures-util", + "parking_lot 0.10.2", + "slab", +] + [[package]] name = "bs58" version = "0.3.1" @@ -774,20 +784,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "crossbeam" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69323bff1fb41c635347b8ead484a5ca6c3f11914d784170b158d8449ab07f8e" -dependencies = [ - "cfg-if", - "crossbeam-channel 0.4.2", - "crossbeam-deque", - "crossbeam-epoch", - "crossbeam-queue", - "crossbeam-utils 0.7.2", -] - [[package]] name = "crossbeam-channel" version = "0.3.9" @@ -4128,18 +4124,6 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" -[[package]] -name = "piper" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b0deb65f46e873ba8aa7c6a8dbe3f23cb1bf59c339a81a1d56361dde4d66ac8" -dependencies = [ - "crossbeam-utils 0.7.2", - "futures-io", - "futures-sink", - "futures-util", -] - [[package]] name = "pkg-config" version = "0.3.17" @@ -6273,12 +6257,6 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2" -[[package]] -name = "scoped-tls-hkt" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2e9d7eaddb227e8fbaaa71136ae0e1e913ca159b86c7da82f3e8f0044ad3a63" - [[package]] name = "scopeguard" version = "1.1.0" @@ -6556,25 +6534,6 @@ version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7cb5678e1615754284ec264d9bb5b4c27d2018577fd90ac0ceb578591ed5ee4" -[[package]] -name = "smol" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "686c634ad1873fffef6aed20f180eede424fbf3bb31802394c90fd7335a661b7" -dependencies = [ - "async-task 3.0.0", - "crossbeam", - "futures-io", - "futures-util", - "nix 0.17.0", - "once_cell", - "piper", - "scoped-tls-hkt", - "slab", - "socket2", - "wepoll-binding", -] - [[package]] name = "snow" version = "0.6.2" @@ -7386,7 +7345,7 @@ name = "substrate-prometheus-endpoint" version = "0.8.0-rc2" source = "git+https://github.com/paritytech/substrate#df59acf4e8aaad672fc40146a1001d0177cb8ed3" dependencies = [ - "async-std 1.6.0", + "async-std 1.5.0", "derive_more 0.99.7", "futures-util", "hyper 0.13.5", @@ -8597,25 +8556,6 @@ dependencies = [ "webpki", ] -[[package]] -name = "wepoll-binding" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "374fff4ff9701ff8b6ad0d14bacd3156c44063632d8c136186ff5967d48999a7" -dependencies = [ - "bitflags", - "wepoll-sys", -] - -[[package]] -name = "wepoll-sys" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9082a777aed991f6769e2b654aa0cb29f1c3d615daf009829b07b66c7aff6a24" -dependencies = [ - "cc", -] - [[package]] name = "westend-runtime" version = "0.8.1"