From 5b5671ff0d9dc96666b817fdb5f7a5f1164b7502 Mon Sep 17 00:00:00 2001 From: Shun Sakai Date: Wed, 18 Mar 2026 01:07:11 +0900 Subject: [PATCH] chore: Enable `doc_cfg` feature on docs.rs --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 9488a8c..ee77c84 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,7 @@ //! Easily hash and verify passwords using bcrypt #![forbid(unsafe_code)] #![cfg_attr(not(feature = "std"), no_std)] +#![cfg_attr(docsrs, feature(doc_cfg))] #[cfg(any(feature = "alloc", feature = "std", test))] extern crate alloc;