Browse Source

Add futures channel back to dependencies.

Jing Yang 4 năm trước cách đây
mục cha
commit
c072958dad
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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]