consensus_encoding: Re-export hashes crate
What changed, and why it matters
This commit simply makes an existing internal dependency (the `hashes` crate) publicly visible to users of the `consensus_encoding` crate. It is a routine API/export change with no security relevance visible in the code.
No security action required; review as normal API-export change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff adds pub extern crate hashes; to consensus_encoding/src/lib.rs, re-exporting the hashes dependency as a public module. This is a pure visibility/API ergonomics change; no logic, parsing, cryptographic operations, or trust boundaries are modified.
Changed components
consensus_encoding/src/lib.rsInspect captured patch +3 / −0
diff --git a/consensus_encoding/src/lib.rs b/consensus_encoding/src/lib.rs
index 19168202..7c07604a 100644
--- a/consensus_encoding/src/lib.rs
+++ b/consensus_encoding/src/lib.rs
@@ -17,6 +17,9 @@ extern crate alloc;
#[cfg(feature = "std")]
extern crate std;
+/// Rust implementation of cryptographic hash function algorithms.
+pub extern crate hashes;
+
mod decode;
mod encode;
Why this scored 17/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.