This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new c979db94 refactor: Minimize futures dependencies (#2248)
c979db94 is described below

commit c979db94000c8d4f22ffc74b519c0aa98d8513c4
Author: tottoto <[email protected]>
AuthorDate: Wed May 10 19:56:38 2023 +0900

    refactor: Minimize futures dependencies (#2248)
    
    * refactor: Replace futures with futures-util
    
    * fix: Add futures-executor
    
    * Revert "fix: Add futures-executor"
    
    This reverts commit eb3664ff0851628f7f9d528ec5b48e59c4a0faf0.
    
    * Use futures in core and handle features
    
    * fix
    
    * fix
    
    * Revert to futures
---
 core/Cargo.toml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/core/Cargo.toml b/core/Cargo.toml
index 899dd8b0..28be62b8 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -140,6 +140,7 @@ services-sftp = [
   "dep:openssh-sftp-client",
   "dep:bb8",
   "dep:owning_ref",
+  "futures/executor",
 ]
 services-sled = ["dep:sled"]
 services-supabase = []
@@ -171,7 +172,7 @@ bytes = "1.2"
 chrono = "0.4.24"
 dashmap = { version = "5.4", optional = true }
 flagset = "0.4"
-futures = { version = "0.3", features = ["alloc"] }
+futures = { version = "0.3", default-features = false, features = ["alloc"] }
 hdrs = { version = "0.2", optional = true, features = ["async_file"] }
 http = "0.2.5"
 hyper = "0.14"

Reply via email to