From 896af749c98fd6c25b1ae4f32bece7e0629b5c44 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 4 Feb 2023 02:16:39 +0000 Subject: [PATCH] build(deps): bump tokio from 1.17.0 to 1.18.5 Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.17.0 to 1.18.5. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.17.0...tokio-1.18.5) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Cargo.lock | 102 +++++++++++++----- Cargo.toml | 4 +- cmd/tikv-ctl/Cargo.toml | 2 +- components/backup-stream/Cargo.toml | 2 +- components/backup/Cargo.toml | 4 +- components/cdc/Cargo.toml | 2 +- components/cloud/aws/Cargo.toml | 2 +- components/cloud/azure/Cargo.toml | 2 +- components/cloud/gcp/Cargo.toml | 2 +- components/concurrency_manager/Cargo.toml | 2 +- components/encryption/Cargo.toml | 2 +- components/external_storage/Cargo.toml | 4 +- components/external_storage/export/Cargo.toml | 4 +- components/file_system/Cargo.toml | 2 +- components/raftstore/Cargo.toml | 2 +- components/resolved_ts/Cargo.toml | 2 +- components/server/Cargo.toml | 2 +- components/sst_importer/Cargo.toml | 2 +- components/test_raftstore/Cargo.toml | 2 +- components/tikv_util/Cargo.toml | 2 +- tests/Cargo.toml | 2 +- 21 files changed, 101 insertions(+), 49 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9e0303726fb..8951b85b418 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2985,7 +2985,7 @@ dependencies = [ "kernel32-sys", "libc 0.2.125", "log", - "miow 0.2.2", + "miow", "net2", "slab", "winapi 0.2.8", @@ -2993,15 +2993,14 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.0" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba272f85fa0b41fc91872be579b3bbe0f56b792aa361a380eb669469f68dafb2" +checksum = "e5d732bc30207a6423068df043e3d02e0735b155ad7ce1a6f76fe2baa5b158de" dependencies = [ "libc 0.2.125", "log", - "miow 0.3.7", - "ntapi", - "winapi 0.3.9", + "wasi 0.11.0+wasi-snapshot-preview1", + "windows-sys 0.42.0", ] [[package]] @@ -3028,15 +3027,6 @@ dependencies = [ "ws2_32-sys", ] -[[package]] -name = "miow" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21" -dependencies = [ - "winapi 0.3.9", -] - [[package]] name = "mmap" version = "0.1.1" @@ -3537,7 +3527,7 @@ dependencies = [ "libc 0.2.125", "redox_syscall 0.2.11", "smallvec", - "windows-sys", + "windows-sys 0.32.0", ] [[package]] @@ -6348,16 +6338,15 @@ dependencies = [ [[package]] name = "tokio" -version = "1.17.0" +version = "1.18.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2af73ac49756f3f7c01172e34a23e5d0216f6c32333757c2c61feb2bbff5a5ee" +checksum = "0e050c618355082ae5a89ec63bbf897225d5ffe84c7c4e036874e4d185a5044e" dependencies = [ "bytes", "libc 0.2.125", "memchr", - "mio 0.8.0", + "mio 0.8.5", "num_cpus", - "once_cell", "parking_lot 0.12.0", "pin-project-lite", "signal-hook-registry", @@ -6831,6 +6820,12 @@ version = "0.10.2+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" +[[package]] +name = "wasi" +version = "0.11.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" + [[package]] name = "wasm-bindgen" version = "0.2.79" @@ -6979,43 +6974,100 @@ version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3df6e476185f92a12c072be4a189a0210dcdcf512a1891d6dff9edb874deadc6" dependencies = [ - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_msvc", + "windows_aarch64_msvc 0.32.0", + "windows_i686_gnu 0.32.0", + "windows_i686_msvc 0.32.0", + "windows_x86_64_gnu 0.32.0", + "windows_x86_64_msvc 0.32.0", +] + +[[package]] +name = "windows-sys" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" +dependencies = [ + "windows_aarch64_gnullvm", + "windows_aarch64_msvc 0.42.1", + "windows_i686_gnu 0.42.1", + "windows_i686_msvc 0.42.1", + "windows_x86_64_gnu 0.42.1", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc 0.42.1", ] +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c9864e83243fdec7fc9c5444389dcbbfd258f745e7853198f365e3c4968a608" + [[package]] name = "windows_aarch64_msvc" version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d8e92753b1c443191654ec532f14c199742964a061be25d77d7a96f09db20bf5" +[[package]] +name = "windows_aarch64_msvc" +version = "0.42.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c8b1b673ffc16c47a9ff48570a9d85e25d265735c503681332589af6253c6c7" + [[package]] name = "windows_i686_gnu" version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a711c68811799e017b6038e0922cb27a5e2f43a2ddb609fe0b6f3eeda9de615" +[[package]] +name = "windows_i686_gnu" +version = "0.42.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de3887528ad530ba7bdbb1faa8275ec7a1155a45ffa57c37993960277145d640" + [[package]] name = "windows_i686_msvc" version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "146c11bb1a02615db74680b32a68e2d61f553cc24c4eb5b4ca10311740e44172" +[[package]] +name = "windows_i686_msvc" +version = "0.42.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf4d1122317eddd6ff351aa852118a2418ad4214e6613a50e0191f7004372605" + [[package]] name = "windows_x86_64_gnu" version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c912b12f7454c6620635bbff3450962753834be2a594819bd5e945af18ec64bc" +[[package]] +name = "windows_x86_64_gnu" +version = "0.42.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1040f221285e17ebccbc2591ffdc2d44ee1f9186324dd3e84e99ac68d699c45" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.42.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "628bfdf232daa22b0d64fdb62b09fcc36bb01f05a3939e20ab73aaf9470d0463" + [[package]] name = "windows_x86_64_msvc" version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "504a2476202769977a040c6364301a3f65d0cc9e3fb08600b2bda150a0488316" +[[package]] +name = "windows_x86_64_msvc" +version = "0.42.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd" + [[package]] name = "winreg" version = "0.7.0" diff --git a/Cargo.toml b/Cargo.toml index fd7af73bdf4..21b69d7c2e1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -161,7 +161,7 @@ tikv_kv = { path = "components/tikv_kv", default-features = false } tikv_util = { path = "components/tikv_util", default-features = false } time = "0.1" tipb = { git = "https://github.com/pingcap/tipb.git" } -tokio = { version = "1.17", features = ["full"] } +tokio = { version = "1.18", features = ["full"] } tokio-openssl = "0.6" tokio-timer = { git = "https://github.com/tikv/tokio", branch = "tokio-timer-hotfix" } toml = "0.5" @@ -180,7 +180,7 @@ panic_hook = { path = "components/panic_hook" } reqwest = { version = "0.11", features = ["blocking"] } test_sst_importer = { path = "components/test_sst_importer", default-features = false } test_util = { path = "components/test_util", default-features = false } -tokio = { version = "1.17", features = ["macros", "rt-multi-thread", "time"] } +tokio = { version = "1.18", features = ["macros", "rt-multi-thread", "time"] } zipf = "6.1.0" [patch.crates-io] diff --git a/cmd/tikv-ctl/Cargo.toml b/cmd/tikv-ctl/Cargo.toml index 13d8b351e21..54c12533364 100644 --- a/cmd/tikv-ctl/Cargo.toml +++ b/cmd/tikv-ctl/Cargo.toml @@ -85,7 +85,7 @@ tempfile = "3.0" tikv = { path = "../../", default-features = false } tikv_alloc = { path = "../../components/tikv_alloc" } tikv_util = { path = "../../components/tikv_util", default-features = false } -tokio = { version = "1.5", features = ["rt-multi-thread", "time"] } +tokio = { version = "1.18", features = ["rt-multi-thread", "time"] } toml = "0.5" txn_types = { path = "../../components/txn_types", default-features = false } diff --git a/components/backup-stream/Cargo.toml b/components/backup-stream/Cargo.toml index e2b23ccf5db..00c94027ffc 100644 --- a/components/backup-stream/Cargo.toml +++ b/components/backup-stream/Cargo.toml @@ -58,7 +58,7 @@ tidb_query_datatype = { path = "../tidb_query_datatype", default-features = fals tikv = { path = "../../", default-features = false } tikv_alloc = { path = "../tikv_alloc" } tikv_util = { path = "../tikv_util" } -tokio = { version = "1.5", features = ["rt-multi-thread", "macros", "time", "sync"] } +tokio = { version = "1.18", features = ["rt-multi-thread", "macros", "time", "sync"] } tokio-stream = "0.1" tokio-util = { version = "0.7", features = ["compat"] } tonic = "0.5" diff --git a/components/backup/Cargo.toml b/components/backup/Cargo.toml index a59f8949b77..49caed9f389 100644 --- a/components/backup/Cargo.toml +++ b/components/backup/Cargo.toml @@ -71,7 +71,7 @@ tidb_query_common = { path = "../tidb_query_common", default-features = false } tikv = { path = "../../", default-features = false } tikv_alloc = { path = "../tikv_alloc" } tikv_util = { path = "../tikv_util", default-features = false } -tokio = { version = "1.5", features = ["rt-multi-thread"] } +tokio = { version = "1.18", features = ["rt-multi-thread"] } tokio-stream = "0.1" txn_types = { path = "../txn_types", default-features = false } yatp = { git = "https://github.com/tikv/yatp.git", branch = "master" } @@ -79,4 +79,4 @@ yatp = { git = "https://github.com/tikv/yatp.git", branch = "master" } [dev-dependencies] rand = "0.8" tempfile = "3.0" -tokio = { version = "1.5", features = ["time", "macros"] } +tokio = { version = "1.18", features = ["time", "macros"] } diff --git a/components/cdc/Cargo.toml b/components/cdc/Cargo.toml index 255ef552c73..0f2146424b9 100644 --- a/components/cdc/Cargo.toml +++ b/components/cdc/Cargo.toml @@ -61,7 +61,7 @@ thiserror = "1.0" tikv = { path = "../..", default-features = false } tikv_kv = { path = "../tikv_kv", default-features = false } tikv_util = { path = "../tikv_util", default-features = false } -tokio = { version = "1.5", features = ["rt-multi-thread", "time"] } +tokio = { version = "1.18", features = ["rt-multi-thread", "time"] } txn_types = { path = "../txn_types", default-features = false } [dev-dependencies] diff --git a/components/cloud/aws/Cargo.toml b/components/cloud/aws/Cargo.toml index 299192e9ca3..ca603df7d25 100644 --- a/components/cloud/aws/Cargo.toml +++ b/components/cloud/aws/Cargo.toml @@ -29,7 +29,7 @@ rusoto_sts = "0.46.0" rusoto_s3 = { version = "0.46.0", features = ["serialize_structs"] } slog = { version = "2.3", features = ["max_level_trace", "release_max_level_debug"] } # better to not use slog-global, but pass in the logger -tokio = { version = "1.5", features = ["time"] } +tokio = { version = "1.18", features = ["time"] } slog-global = { version = "0.1", git = "https://github.com/breeswish/slog-global.git", rev = "d592f88e4dbba5eb439998463054f1a44fbf17b9" } tikv_util = { path = "../../tikv_util", default-features = false } url = "2.0" diff --git a/components/cloud/azure/Cargo.toml b/components/cloud/azure/Cargo.toml index 042898c31d5..edc03f0b60d 100644 --- a/components/cloud/azure/Cargo.toml +++ b/components/cloud/azure/Cargo.toml @@ -19,5 +19,5 @@ oauth2 = { version = "4.0.0", default-features = false } slog = { version = "2.3", features = ["max_level_trace", "release_max_level_debug"] } slog-global = { version = "0.1", git = "https://github.com/breeswish/slog-global.git", rev = "d592f88e4dbba5eb439998463054f1a44fbf17b9" } tikv_util = { path = "../../tikv_util", default-features = false } -tokio = { version = "1.5", features = ["time"] } +tokio = { version = "1.18", features = ["time"] } url = "2.0" diff --git a/components/cloud/gcp/Cargo.toml b/components/cloud/gcp/Cargo.toml index a9045d6f27c..58b00c82638 100644 --- a/components/cloud/gcp/Cargo.toml +++ b/components/cloud/gcp/Cargo.toml @@ -18,7 +18,7 @@ tame-gcs = { version = "0.10", features = ["async-multipart"] } tame-oauth = "0.4.7" cloud = { path = "../", default-features = false } tikv_util = { path = "../../tikv_util", default-features = false } -tokio = { version = "1.5", features = ["time"] } +tokio = { version = "1.18", features = ["time"] } url = "2.0" [dev-dependencies] diff --git a/components/concurrency_manager/Cargo.toml b/components/concurrency_manager/Cargo.toml index b6e382d7f14..6e98a8185c1 100644 --- a/components/concurrency_manager/Cargo.toml +++ b/components/concurrency_manager/Cargo.toml @@ -9,7 +9,7 @@ fail = "0.5" kvproto = { git = "https://github.com/pingcap/kvproto.git" } parking_lot = "0.12" tikv_util = { path = "../tikv_util", default-features = false } -tokio = { version = "1.5", features = ["macros", "sync", "time"] } +tokio = { version = "1.18", features = ["macros", "sync", "time"] } txn_types = { path = "../txn_types", default-features = false } # FIXME: switch to the crates.io version after crossbeam-skiplist is released diff --git a/components/encryption/Cargo.toml b/components/encryption/Cargo.toml index 80ad86b3b75..f60fa298d04 100644 --- a/components/encryption/Cargo.toml +++ b/components/encryption/Cargo.toml @@ -36,7 +36,7 @@ slog-global = { version = "0.1", git = "https://github.com/breeswish/slog-global thiserror = "1.0" tikv_alloc = { path = "../tikv_alloc" } tikv_util = { path = "../tikv_util", default-features = false } -tokio = { version = "1.5", features = ["time", "rt"] } +tokio = { version = "1.18", features = ["time", "rt"] } [dev-dependencies] matches = "0.1.8" diff --git a/components/external_storage/Cargo.toml b/components/external_storage/Cargo.toml index 049f8ab2e43..7ddd0f1d4e8 100644 --- a/components/external_storage/Cargo.toml +++ b/components/external_storage/Cargo.toml @@ -41,7 +41,7 @@ slog = { version = "2.3", features = ["max_level_trace", "release_max_level_debu slog-global = { version = "0.1", git = "https://github.com/breeswish/slog-global.git", rev = "d592f88e4dbba5eb439998463054f1a44fbf17b9" } tikv_alloc = { path = "../tikv_alloc" } tikv_util = { path = "../tikv_util", default-features = false } -tokio = { version = "1.5", features = ["time", "fs", "process"] } +tokio = { version = "1.18", features = ["time", "fs", "process"] } tokio-util = { version = "0.7", features = ["compat"] } url = "2.0" @@ -50,4 +50,4 @@ matches = "0.1.8" rust-ini = "0.14.0" structopt = "0.3" tempfile = "3.1" -tokio = { version = "1.5", features = ["macros"] } +tokio = { version = "1.18", features = ["macros"] } diff --git a/components/external_storage/export/Cargo.toml b/components/external_storage/export/Cargo.toml index 1f75af2734a..5a0bce18198 100644 --- a/components/external_storage/export/Cargo.toml +++ b/components/external_storage/export/Cargo.toml @@ -70,7 +70,7 @@ once_cell = { optional = true, version = "1.3.1" } protobuf = { optional = true, version = "2" } slog-global = { optional = true, version = "0.1", git = "https://github.com/breeswish/slog-global.git", rev = "d592f88e4dbba5eb439998463054f1a44fbf17b9" } tikv_util = { path = "../../tikv_util" } -tokio = { version = "1.5", features = ["time", "rt", "net"], optional = true } +tokio = { version = "1.18", features = ["time", "rt", "net"], optional = true } tokio-util = { version = "0.7", features = ["compat"], optional = true } url = "2.0" async-trait = "0.1" @@ -81,7 +81,7 @@ futures-util = { version = "0.3", default-features = false, features = ["io"] } rust-ini = "0.14.0" structopt = "0.3" tempfile = "3.1" -tokio = { version = "1.5", features = ["time"] } +tokio = { version = "1.18", features = ["time"] } [[example]] name = "scli" diff --git a/components/file_system/Cargo.toml b/components/file_system/Cargo.toml index e3924c0fc25..fbfd40bf22a 100644 --- a/components/file_system/Cargo.toml +++ b/components/file_system/Cargo.toml @@ -26,7 +26,7 @@ slog-global = { version = "0.1", git = "https://github.com/breeswish/slog-global strum = { version = "0.20", features = ["derive"] } tikv_alloc = { path = "../tikv_alloc" } tikv_util = { path = "../tikv_util", default-features = false } -tokio = { version = "1.5", features = ["time"] } +tokio = { version = "1.18", features = ["time"] } [dev-dependencies] maligned = "0.2.1" diff --git a/components/raftstore/Cargo.toml b/components/raftstore/Cargo.toml index 3b47ca08ec5..21b0b81a1c1 100644 --- a/components/raftstore/Cargo.toml +++ b/components/raftstore/Cargo.toml @@ -85,7 +85,7 @@ tidb_query_datatype = { path = "../tidb_query_datatype", default-features = fals tikv_alloc = { path = "../tikv_alloc" } tikv_util = { path = "../tikv_util", default-features = false } time = "0.1" -tokio = { version = "1.5", features = ["sync", "rt-multi-thread"] } +tokio = { version = "1.18", features = ["sync", "rt-multi-thread"] } tracker = { path = "../tracker" } txn_types = { path = "../txn_types", default-features = false } uuid = { version = "0.8.1", features = ["serde", "v4"] } diff --git a/components/resolved_ts/Cargo.toml b/components/resolved_ts/Cargo.toml index e781fbc1f75..340ecc9f0ed 100644 --- a/components/resolved_ts/Cargo.toml +++ b/components/resolved_ts/Cargo.toml @@ -46,7 +46,7 @@ slog-global = { version = "0.1", git = "https://github.com/breeswish/slog-global thiserror = "1.0" tikv = { path = "../../", default-features = false } tikv_util = { path = "../tikv_util", default-features = false } -tokio = { version = "1.5", features = ["rt-multi-thread", "time"] } +tokio = { version = "1.18", features = ["rt-multi-thread", "time"] } txn_types = { path = "../txn_types", default-features = false } [dev-dependencies] diff --git a/components/server/Cargo.toml b/components/server/Cargo.toml index c2617d4896c..029351afac3 100644 --- a/components/server/Cargo.toml +++ b/components/server/Cargo.toml @@ -77,7 +77,7 @@ tempfile = "3.0" tikv = { path = "../..", default-features = false } tikv_alloc = { path = "../tikv_alloc" } tikv_util = { path = "../tikv_util", default-features = false } -tokio = { version = "1.5", features = ["rt-multi-thread"] } +tokio = { version = "1.18", features = ["rt-multi-thread"] } toml = "0.5" txn_types = { path = "../txn_types", default-features = false } yatp = { git = "https://github.com/tikv/yatp.git", branch = "master" } diff --git a/components/sst_importer/Cargo.toml b/components/sst_importer/Cargo.toml index 887c9df6655..5e9d6b1f437 100644 --- a/components/sst_importer/Cargo.toml +++ b/components/sst_importer/Cargo.toml @@ -38,7 +38,7 @@ slog-global = { version = "0.1", git = "https://github.com/breeswish/slog-global thiserror = "1.0" tikv_alloc = { path = "../tikv_alloc" } tikv_util = { path = "../tikv_util", default-features = false } -tokio = { version = "1.5", features = ["time", "rt-multi-thread", "macros"] } +tokio = { version = "1.18", features = ["time", "rt-multi-thread", "macros"] } txn_types = { path = "../txn_types", default-features = false } uuid = { version = "0.8.1", features = ["serde", "v4"] } diff --git a/components/test_raftstore/Cargo.toml b/components/test_raftstore/Cargo.toml index cd9df2e3c05..4da397999f0 100644 --- a/components/test_raftstore/Cargo.toml +++ b/components/test_raftstore/Cargo.toml @@ -59,6 +59,6 @@ tempfile = "3.0" test_util = { path = "../test_util", default-features = false } tikv = { path = "../../", default-features = false } tikv_util = { path = "../tikv_util", default-features = false } -tokio = { version = "1.5", features = ["rt-multi-thread"] } +tokio = { version = "1.18", features = ["rt-multi-thread"] } tokio-timer = { git = "https://github.com/tikv/tokio", branch = "tokio-timer-hotfix" } txn_types = { path = "../txn_types", default-features = false } diff --git a/components/tikv_util/Cargo.toml b/components/tikv_util/Cargo.toml index befe6559e32..b6e289f8f2f 100644 --- a/components/tikv_util/Cargo.toml +++ b/components/tikv_util/Cargo.toml @@ -52,7 +52,7 @@ sysinfo = "0.16" thiserror = "1.0" tikv_alloc = { path = "../tikv_alloc" } time = "0.1" -tokio = { version = "1.5", features = ["rt-multi-thread"] } +tokio = { version = "1.18", features = ["rt-multi-thread"] } tokio-executor = "0.1" tokio-timer = { git = "https://github.com/tikv/tokio", branch = "tokio-timer-hotfix" } tracker = { path = "../tracker" } diff --git a/tests/Cargo.toml b/tests/Cargo.toml index 11dbfc09f2f..7ce51715989 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -149,7 +149,7 @@ test_storage = { path = "../components/test_storage", default-features = false } test_util = { path = "../components/test_util", default-features = false } tidb_query_datatype = { path = "../components/tidb_query_datatype", default-features = false } tipb_helper = { path = "../components/tipb_helper", default-features = false } -tokio = { version = "1.5", features = ["rt-multi-thread"] } +tokio = { version = "1.18", features = ["rt-multi-thread"] } [target.'cfg(all(target_os = "linux", target_arch = "x86_64"))'.dev-dependencies] criterion-perf-events = "0.1"