You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by ti...@apache.org on 2026/02/18 09:31:38 UTC
(opendal) branch main updated: chore(integrations/unftp): use unftp-core (#7191)
This is an automated email from the ASF dual-hosted git repository.
tison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git
The following commit(s) were added to refs/heads/main by this push:
new 15e2cc098 chore(integrations/unftp): use unftp-core (#7191)
15e2cc098 is described below
commit 15e2cc098cfeb1403e526cea868c0e17382a50fa
Author: Hannes de Jager <ha...@gmail.com>
AuthorDate: Wed Feb 18 10:31:32 2026 +0100
chore(integrations/unftp): use unftp-core (#7191)
The latest release of libunftp splits unftp-core off libunftp and requires storage back-ends like this one to depend on unftp-core.
See https://github.com/bolcom/libunftp/releases/tag/libunftp-0.23.0 and https://github.com/bolcom/libunftp/releases/tag/unftp-core-0.1.0.
---
integrations/unftp-sbe/Cargo.toml | 3 ++-
integrations/unftp-sbe/src/lib.rs | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/integrations/unftp-sbe/Cargo.toml b/integrations/unftp-sbe/Cargo.toml
index d4a7e1fdc..488d4caf6 100644
--- a/integrations/unftp-sbe/Cargo.toml
+++ b/integrations/unftp-sbe/Cargo.toml
@@ -28,13 +28,14 @@ version = "0.4.0"
[dependencies]
async-trait = "0.1.88"
-libunftp = "0.22.0"
opendal = { version = "0.55.0", path = "../../core" }
tokio = { version = "1.38.0", default-features = false, features = ["io-util"] }
tokio-util = { version = "0.7.11", features = ["compat"] }
+unftp-core = "0.1.0"
[dev-dependencies]
anyhow = "1"
+libunftp = "0.23.0"
opendal = { version = "0.55.0", path = "../../core", features = [
"services-s3",
] }
diff --git a/integrations/unftp-sbe/src/lib.rs b/integrations/unftp-sbe/src/lib.rs
index 80c443e55..bb767f454 100644
--- a/integrations/unftp-sbe/src/lib.rs
+++ b/integrations/unftp-sbe/src/lib.rs
@@ -60,9 +60,9 @@
use std::fmt::Debug;
use std::path::{Path, PathBuf};
-use libunftp::auth::UserDetail;
-use libunftp::storage::{self, Error, StorageBackend};
use opendal::Operator;
+use unftp_core::auth::UserDetail;
+use unftp_core::storage::{self, Error, StorageBackend};
use tokio::io::AsyncWriteExt;
use tokio_util::compat::{FuturesAsyncReadCompatExt, FuturesAsyncWriteCompatExt};