From 8b03cf9640bd93086dab63f45167a1aecdb4a7f1 Mon Sep 17 00:00:00 2001 From: Manjusaka Date: Thu, 18 Jan 2024 13:32:07 +0800 Subject: [PATCH] chore(bindings/python): Enable sftp service by default for unix platform Signed-off-by: Manjusaka --- bindings/python/Cargo.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml index 711a11a98e99..fe00e54af13a 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