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 521eb67306 chore(bindings/python): Enable sftp service by default for 
unix platform (#4006)
521eb67306 is described below

commit 521eb673061983c83577019920a05942d2c626d3
Author: Nadeshiko Manju <[email protected]>
AuthorDate: Thu Jan 18 13:42:37 2024 +0800

    chore(bindings/python): Enable sftp service by default for unix platform 
(#4006)
    
    Signed-off-by: Manjusaka <[email protected]>
---
 bindings/python/Cargo.toml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml
index 711a11a98e..fe00e54af1 100644
--- a/bindings/python/Cargo.toml
+++ b/bindings/python/Cargo.toml
@@ -155,3 +155,10 @@ opendal.workspace = true
 pyo3 = "0.20.1"
 pyo3-asyncio = { version = "0.20", features = ["tokio-runtime"] }
 tokio = "1"
+
+[target.'cfg(unix)'.dependencies.opendal]
+features = [
+  # Depend on "openssh" which depends on "tokio-pipe" that is unavailable on 
Windows.
+  "services-sftp",
+]
+workspace = true
\ No newline at end of file

Reply via email to