What changed, and why it matters
This commit removes a documentation-only Rust compiler feature flag (`doc_auto_cfg`) from the BIP-158 crate. It does not change any executable code, runtime behavior, or security-sensitive logic. The change only affects how documentation is generated on docs.rs and appears to be a cleanup because the feature was unstable or causing issues.
No security action required. Treat as a routine maintenance/documentation cleanup commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff deletes #![cfg_attr(docsrs, feature(doc_auto_cfg))] from bip158/src/lib.rs. This attribute previously enabled the unstable doc_auto_cfg feature only when building documentation on docs.rs. The removal has no effect on compiled binaries, APIs, cryptographic operations, or consensus logic. It is a build/docs configuration cleanup.
Changed components
bip158/src/lib.rs (documentation build configuration only)Inspect captured patch +0 / −2
diff --git a/bip158/src/lib.rs b/bip158/src/lib.rs
index fb22c034..5ef86257 100644
--- a/bip158/src/lib.rs
+++ b/bip158/src/lib.rs
@@ -2,8 +2,6 @@
//! # Rust Bitcoin BIP-158 implementation.
-// Experimental features we need.
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
// Coding conventions.
#![warn(missing_docs)]
#![warn(deprecated_in_future)]
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.