فهرست منبع

Add futures channel back to dependencies.

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

+ 2 - 2
Cargo.toml

@@ -12,13 +12,13 @@ homepage = "https://github.com/ditsing/labrpc"
 [dependencies]
 bytes = "1.0"
 crossbeam-channel = "0.5.1"
-futures = { version = "0.3.15", default-features = false }
+futures = { version = "0.3.15", default-features = false, features = ["std"]}
 parking_lot = "0.11.1"
 rand = "0.8.0"
 tokio = { version = "1.7", features = ["macros", "rt-multi-thread", "sync", "time", "parking_lot"] }
 
 [dev-dependencies]
-futures = { version = "0.3.15", default-features = false, features = ["thread-pool"] }
+futures = { version = "0.3.15", default-features = false, features = ["std", "thread-pool"] }
 lazy_static = "1.4.0"
 
 [features]