What changed, and why it matters
This commit is a routine Rust packaging change. It makes several internal dependency crates (base58, bech32, crypto, network, primitives, serde) publicly visible to users of the 'addresses' crate so that types from those crates can be used cleanly in the public API. There is no bug fix, behavior change, or security patch here.
No security action needed. Review as a normal API/ergonomics change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff adds pub extern crate declarations in addresses/src/lib.rs. In Rust, when a crate re-exports types from another crate in its own public API, it is idiomatic (and sometimes required for downstream users) to expose those dependencies as pub extern crate. This change only affects crate visibility and module re-exports; it does not alter parsing, validation, cryptography, or network logic.
Changed components
addresses/src/lib.rsInspect captured patch +6 / −0
diff --git a/addresses/src/lib.rs b/addresses/src/lib.rs
index eaf18e8a..77cbce40 100644
--- a/addresses/src/lib.rs
+++ b/addresses/src/lib.rs
@@ -63,7 +63,13 @@ extern crate alloc;
#[cfg(feature = "std")]
extern crate std;
+pub extern crate base58;
+pub extern crate bech32;
+pub extern crate crypto;
pub extern crate network;
+pub extern crate primitives;
+#[cfg(feature = "serde")]
+pub extern crate serde;
pub mod error;
pub mod witness_program;
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.