Procházet zdrojové kódy

Add futures channel back to dependencies.

Jing Yang před 4 roky
rodič
revize
c072958dad
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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]