diff --git a/Cargo.lock b/Cargo.lock index 9a986ab8ac5..cffe516ae6c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4957,25 +4957,14 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.2" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52da4364ffb0e4fe33a9841a98a3f3014fb964045ce4f7a45a398243c8d6b0c9" +checksum = "57ee1c23c7c63b0c9250c339ffdc69255f110b298b901b9f6c82547b7b87caaf" dependencies = [ "libc", "log", - "miow", - "ntapi", "wasi 0.11.0+wasi-snapshot-preview1", - "winapi", -] - -[[package]] -name = "miow" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21" -dependencies = [ - "winapi", + "windows-sys 0.36.1", ] [[package]] @@ -5223,15 +5212,6 @@ dependencies = [ "version_check", ] -[[package]] -name = "ntapi" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44" -dependencies = [ - "winapi", -] - [[package]] name = "num-bigint" version = "0.2.6" @@ -12152,10 +12132,11 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "1.19.2" +version = "1.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c51a52ed6686dd62c320f9b89299e9dfb46f730c7a48e635c19f21d116cb1439" +checksum = "89797afd69d206ccd11fb0ea560a44bbb87731d020670e79416d442919257d42" dependencies = [ + "autocfg", "bytes", "libc", "memchr", diff --git a/client/network/Cargo.toml b/client/network/Cargo.toml index fdfa15e5af0..acbef329559 100644 --- a/client/network/Cargo.toml +++ b/client/network/Cargo.toml @@ -33,7 +33,7 @@ cumulus-relay-chain-interface = { path = "../relay-chain-interface" } [dev-dependencies] portpicker = "0.1.1" -tokio = { version = "1.19.2", features = ["macros"] } +tokio = { version = "1.21.0", features = ["macros"] } url = "2.2.2" # Substrate diff --git a/client/pov-recovery/Cargo.toml b/client/pov-recovery/Cargo.toml index da6147b173b..89c5f4e2a2d 100644 --- a/client/pov-recovery/Cargo.toml +++ b/client/pov-recovery/Cargo.toml @@ -31,7 +31,7 @@ cumulus-primitives-core = { path = "../../primitives/core" } cumulus-relay-chain-interface = {path = "../relay-chain-interface"} [dev-dependencies] -tokio = { version = "1.19.2", features = ["macros"] } +tokio = { version = "1.21.0", features = ["macros"] } # Cumulus cumulus-test-service = { path = "../../test/service" } diff --git a/client/relay-chain-rpc-interface/Cargo.toml b/client/relay-chain-rpc-interface/Cargo.toml index 38e1c37ad5f..626f1295f5e 100644 --- a/client/relay-chain-rpc-interface/Cargo.toml +++ b/client/relay-chain-rpc-interface/Cargo.toml @@ -18,7 +18,7 @@ sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = " sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-storage = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -tokio = { version = "1.19.2", features = ["sync"] } +tokio = { version = "1.21.0", features = ["sync"] } futures = "0.3.24" futures-timer = "3.0.2" diff --git a/polkadot-parachain/Cargo.toml b/polkadot-parachain/Cargo.toml index f85f0b18df8..b1b7ecf9218 100644 --- a/polkadot-parachain/Cargo.toml +++ b/polkadot-parachain/Cargo.toml @@ -94,7 +94,7 @@ substrate-build-script-utils = { git = "https://github.com/paritytech/substrate" assert_cmd = "2.0" nix = "0.25" tempfile = "3.3.0" -tokio = { version = "1.19.2", features = ["macros", "time", "parking_lot"] } +tokio = { version = "1.21.0", features = ["macros", "time", "parking_lot"] } wait-timeout = "0.2" # purge_chain_works works with rococo-local and needs to allow this polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "master", features = ["rococo-native"] } diff --git a/test/service/Cargo.toml b/test/service/Cargo.toml index 901ddd4be4a..d2fec695562 100644 --- a/test/service/Cargo.toml +++ b/test/service/Cargo.toml @@ -16,7 +16,7 @@ criterion = { version = "0.3.6", features = [ "async_tokio" ] } jsonrpsee = { version = "0.15.1", features = ["server"] } rand = "0.8.5" serde = { version = "1.0.144", features = ["derive"] } -tokio = { version = "1.19.2", features = ["macros"] } +tokio = { version = "1.21.0", features = ["macros"] } tracing = "0.1.36" url = "2.2.2"