diff --git a/Cargo.toml b/Cargo.toml index 6709326..0cdcb23 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,7 +31,7 @@ regex = "1" serde = "1.0" serde_derive = "1.0" thiserror = "1" -tokio = { version = "0.2", features = ["sync"] } +tokio = { version = "1.0", features = [ "sync" ] } tikv-client-common = { path = "tikv-client-common" } tikv-client-pd = { path = "tikv-client-pd" } @@ -48,7 +48,7 @@ proptest-derive = "0.1.0" tempdir = "0.3" serial_test = "0.5.0" simple_logger = "1.9.0" -tokio = { version = "0.2", features = ["rt-threaded", "macros"] } +tokio = { version = "1.0", features = [ "sync", "rt-multi-thread", "macros" ] } [workspace] members = [ diff --git a/tikv-client-common/Cargo.toml b/tikv-client-common/Cargo.toml index fe18947..5f4b6de 100644 --- a/tikv-client-common/Cargo.toml +++ b/tikv-client-common/Cargo.toml @@ -19,4 +19,4 @@ fail = { version = "0.3", features = [ "failpoints" ] } proptest = "0.9" proptest-derive = "0.1.0" tempdir = "0.3" -tokio = { version = "0.2", features = ["rt-threaded", "macros"] } +tokio = "1.0"