فهرست منبع

Upgrade to tokio 1.7.

Jing Yang 4 سال پیش
والد
کامیت
10a8c764af
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      Cargo.toml
  2. 1 1
      kvraft/Cargo.toml

+ 1 - 1
Cargo.toml

@@ -20,7 +20,7 @@ parking_lot = "0.11.1"
 rand = "0.8"
 serde = "1.0.116"
 serde_derive = "1.0.116"
-tokio = { version = "1.0", features = ["rt-multi-thread", "time", "parking_lot"] }
+tokio = { version = "1.7", features = ["rt-multi-thread", "time", "parking_lot"] }
 
 [dev-dependencies]
 anyhow = "1.0"

+ 1 - 1
kvraft/Cargo.toml

@@ -13,7 +13,7 @@ ruaft = { path = "../" }
 linearizability = { path = "../linearizability" }
 serde = "1.0.116"
 serde_derive = "1.0.116"
-tokio = { version = "1.0", features = ["time", "parking_lot"] }
+tokio = { version = "1.7", features = ["time", "parking_lot"] }
 
 [dev-dependencies]
 scopeguard = "1.1.0"