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

tisonkun 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 ae2779384 fix(object_store): export send future helper (#7851)
ae2779384 is described below

commit ae27793849622b61533950dd8b610e79160bf03c
Author: hfutatzhanghb <[email protected]>
AuthorDate: Sat Jul 4 00:39:14 2026 +0800

    fix(object_store): export send future helper (#7851)
    
    Co-authored-by: [email protected] <[email protected]>
---
 integrations/object_store/src/lib.rs | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/integrations/object_store/src/lib.rs 
b/integrations/object_store/src/lib.rs
index 587a9ca44..7d2011530 100644
--- a/integrations/object_store/src/lib.rs
+++ b/integrations/object_store/src/lib.rs
@@ -60,11 +60,24 @@
 //!     assert_eq!(content, bytes);
 //! }
 //! ```
+//!
+//! Use the re-exported future helper when an integration needs the same 
OpenDAL
+//! future wrapper used by this crate:
+//!
+//! ```no_run
+//! use object_store_opendal::IntoSendFuture;
+//! use opendal::Operator;
+//!
+//! async fn rename(op: Operator) -> opendal::Result<()> {
+//!     op.rename("from", "to").into_send().await
+//! }
+//! ```
 
 mod store;
 pub use store::OpendalStore;
 
 mod utils;
+pub use utils::IntoSendFuture;
 
 #[cfg(feature = "services-s3")]
 mod amazon_s3;

Reply via email to