You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2023/06/12 02:35:15 UTC
[incubator-opendal] 01/01: fix: Enable `std` feature for futures to allow `futures::AsyncRead`
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch fix-futures-feature
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
commit b018a2b9fff9f1e26ad9ccede1d18e0dac721638
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Mon Jun 12 10:34:42 2023 +0800
fix: Enable `std` feature for futures to allow `futures::AsyncRead`
Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
core/Cargo.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/Cargo.toml b/core/Cargo.toml
index de36151ea..68e4514a7 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -174,7 +174,7 @@ chrono = "0.4.24"
dashmap = { version = "5.4", optional = true }
dirs = { version = "5.0.1", optional = true }
flagset = "0.4"
-futures = { version = "0.3", default-features = false, features = ["alloc"] }
+futures = { version = "0.3", default-features = false, features = ["std"] }
hdrs = { version = "0.2", optional = true, features = ["async_file"] }
http = "0.2.5"
hyper = "0.14"