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/opendal.git
The following commit(s) were added to refs/heads/main by this push:
new 45746c627 fix(docs): docs.rs built failed (#6658)
45746c627 is described below
commit 45746c62795fa922580fb3f6e426ace83639d9b5
Author: FreeChenMou <[email protected]>
AuthorDate: Mon Oct 13 21:49:50 2025 +0800
fix(docs): docs.rs built failed (#6658)
* fix build error
* Update core/src/lib.rs
---------
Co-authored-by: root <[email protected]>
Co-authored-by: Xuanwo <[email protected]>
---
core/src/lib.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/src/lib.rs b/core/src/lib.rs
index 135b373de..80797ad94 100644
--- a/core/src/lib.rs
+++ b/core/src/lib.rs
@@ -18,8 +18,8 @@
#![doc(
html_logo_url =
"https://raw.githubusercontent.com/apache/opendal/main/website/static/img/logo.svg"
)]
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
-
+#![cfg_attr(docsrs, feature(doc_cfg))]
+#![cfg_attr(docsrs, doc(auto_cfg))]
//! Apache OpenDALâ„¢ is an Open Data Access Layer that enables seamless
interaction with diverse storage services.
//!
//! OpenDAL's development is guided by its vision of **One Layer, All
Storage** and its core principles: **Open Community**, **Solid Foundation**,
**Fast Access**, **Object Storage First**, and **Extensible Architecture**.
Read the explained vision at [OpenDAL
Vision](https://opendal.apache.org/vision).