Explorar o código

Upgrade to tokio 1.0.

Jing Yang %!s(int64=5) %!d(string=hai) anos
pai
achega
336a031b26
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Cargo.toml

+ 1 - 1
Cargo.toml

@@ -12,7 +12,7 @@ crossbeam-channel = "0.5.0"
 futures = { version = "0.3.8", default-features = false, features = ["thread-pool"] }
 parking_lot = "0.11.0"
 rand = "0.7.3"
-tokio = { version = "0.3", features = ["rt-multi-thread", "time", "parking_lot"] }
+tokio = { version = "1.0", features = ["rt-multi-thread", "time", "parking_lot"] }
 
 [features]
 default = []