update tokio to 1.0

Signed-off-by: ekexium <ekexium@gmail.com>
This commit is contained in:
ekexium 2021-01-06 15:21:55 +08:00
parent 6b8b61fc79
commit a8f52b9ba8
2 changed files with 3 additions and 3 deletions

View File

@ -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 = [

View File

@ -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"