What changed, and why it matters
This commit only updates generated API text files to include a newly added public function, `drain_to_engine`, in the documented interface list. It does not change any source code, behavior, or security properties of the library. There is no security issue here.
No action needed. This is a documentation/API-snapshot maintenance commit with no security relevance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff updates three API snapshot files under hashes/api/ to reflect the addition of pub fn bitcoin_hashes::drain_to_engine<T, H>. These files are generated artifacts used to track public API surface, not implementation code. The actual function was presumably added in a prior commit; this change merely records it in the API manifests.
Changed components
hashes/api/all-features.txthashes/api/alloc-only.txthashes/api/no-features.txtInspect captured patch +3 / −0
diff --git a/hashes/api/all-features.txt b/hashes/api/all-features.txt
index ad64a104..2c963681 100644
--- a/hashes/api/all-features.txt
+++ b/hashes/api/all-features.txt
@@ -3357,6 +3357,7 @@ pub trait bitcoin_hashes::IsByteArray: core::convert::AsRef<[u8]> + bitcoin_hash
pub const bitcoin_hashes::IsByteArray::LEN: usize
impl<const N: usize> bitcoin_hashes::IsByteArray for [u8; N]
pub const [u8; N]::LEN: usize
+pub fn bitcoin_hashes::drain_to_engine<T, H>(encoder: &mut T, engine: &mut H) where T: bitcoin_consensus_encoding::encode::Encoder + ?core::marker::Sized, H: bitcoin_hashes::HashEngine
pub fn bitcoin_hashes::encode_to_engine<T, H>(object: &T, engine: &mut H) where T: bitcoin_consensus_encoding::encode::Encode + ?core::marker::Sized, H: bitcoin_hashes::HashEngine
pub type bitcoin_hashes::HkdfSha256 = bitcoin_hashes::hkdf::Hkdf<bitcoin_hashes::sha256::Hash>
pub type bitcoin_hashes::HkdfSha512 = bitcoin_hashes::hkdf::Hkdf<bitcoin_hashes::sha512::Hash>
diff --git a/hashes/api/alloc-only.txt b/hashes/api/alloc-only.txt
index 22852c1b..d12392de 100644
--- a/hashes/api/alloc-only.txt
+++ b/hashes/api/alloc-only.txt
@@ -2891,6 +2891,7 @@ pub trait bitcoin_hashes::IsByteArray: core::convert::AsRef<[u8]> + bitcoin_hash
pub const bitcoin_hashes::IsByteArray::LEN: usize
impl<const N: usize> bitcoin_hashes::IsByteArray for [u8; N]
pub const [u8; N]::LEN: usize
+pub fn bitcoin_hashes::drain_to_engine<T, H>(encoder: &mut T, engine: &mut H) where T: bitcoin_consensus_encoding::encode::Encoder + ?core::marker::Sized, H: bitcoin_hashes::HashEngine
pub fn bitcoin_hashes::encode_to_engine<T, H>(object: &T, engine: &mut H) where T: bitcoin_consensus_encoding::encode::Encode + ?core::marker::Sized, H: bitcoin_hashes::HashEngine
pub type bitcoin_hashes::HkdfSha256 = bitcoin_hashes::hkdf::Hkdf<bitcoin_hashes::sha256::Hash>
pub type bitcoin_hashes::HkdfSha512 = bitcoin_hashes::hkdf::Hkdf<bitcoin_hashes::sha512::Hash>
diff --git a/hashes/api/no-features.txt b/hashes/api/no-features.txt
index b4bdefc3..d77820ab 100644
--- a/hashes/api/no-features.txt
+++ b/hashes/api/no-features.txt
@@ -2697,6 +2697,7 @@ pub trait bitcoin_hashes::IsByteArray: core::convert::AsRef<[u8]> + bitcoin_hash
pub const bitcoin_hashes::IsByteArray::LEN: usize
impl<const N: usize> bitcoin_hashes::IsByteArray for [u8; N]
pub const [u8; N]::LEN: usize
+pub fn bitcoin_hashes::drain_to_engine<T, H>(encoder: &mut T, engine: &mut H) where T: bitcoin_consensus_encoding::encode::Encoder + ?core::marker::Sized, H: bitcoin_hashes::HashEngine
pub fn bitcoin_hashes::encode_to_engine<T, H>(object: &T, engine: &mut H) where T: bitcoin_consensus_encoding::encode::Encode + ?core::marker::Sized, H: bitcoin_hashes::HashEngine
pub type bitcoin_hashes::HkdfSha256 = bitcoin_hashes::hkdf::Hkdf<bitcoin_hashes::sha256::Hash>
pub type bitcoin_hashes::HkdfSha512 = bitcoin_hashes::hkdf::Hkdf<bitcoin_hashes::sha512::Hash>
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.