瀏覽代碼

deps: enable only the std feature for the futures crate

Alessandro Decina 4 年之前
父節點
當前提交
0cf5d17e38
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      aya/Cargo.toml

+ 1 - 1
aya/Cargo.toml

@@ -12,7 +12,7 @@ bitflags = "1.2.1"
 bytes = "1"
 lazy_static = "1"
 parking_lot = { version = "0.11.1", features = ["send_guard"] }
-futures = { version = "0.3.12", optional = true }
+futures = { version = "0.3.12", optional = true, default-features = false, features = ["std"] }
 tokio = { version = "1.2.0", features = ["macros", "rt", "rt-multi-thread", "net"], optional = true }
 async-std = { version = "1.9.0", optional = true }
 async-io = { version = "1.3", optional = true }