What changed, and why it matters
This commit only updates generated API text files to reflect that a new public dependency called `encoding` is now exposed by several Rust Bitcoin crates. There are no code changes, no bug fixes, and no security-related content.
No action required; this is a non-functional API-snapshot update.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff adds pub extern crate ...::encoding lines to seven api/*.txt snapshot files. These files are generated public-API documentation/snapshots used to track exported symbols. The change is purely mechanical and reflects a dependency re-export; it does not modify any implementation logic.
Changed components
api/hashes/all-features.txtapi/hashes/alloc-only.txtapi/hashes/no-features.txtapi/primitives/all-features.txtapi/primitives/alloc-only.txtapi/primitives/no-features.txtapi/units/all-features.txtInspect captured patch +7 / −0
diff --git a/api/hashes/all-features.txt b/api/hashes/all-features.txt
index e0db12e0..fbebb7ef 100644
--- a/api/hashes/all-features.txt
+++ b/api/hashes/all-features.txt
@@ -719,6 +719,7 @@ pub const fn bitcoin_hashes::siphash24::Hash::from_byte_array(bytes: [u8; 8]) ->
pub const fn bitcoin_hashes::siphash24::Hash::from_bytes_ref(bytes: &[u8; 8]) -> &Self
pub const fn bitcoin_hashes::siphash24::Hash::to_byte_array(self) -> [u8; 8]
pub const fn bitcoin_hashes::siphash24::HashEngine::with_keys(k0: u64, k1: u64) -> Self
+pub extern crate bitcoin_hashes::encoding
pub extern crate bitcoin_hashes::hex
pub extern crate bitcoin_hashes::serde
pub fn bitcoin_hashes::Hash::as_byte_array(&self) -> &Self::Bytes
diff --git a/api/hashes/alloc-only.txt b/api/hashes/alloc-only.txt
index 2ce78ed7..9645e8e4 100644
--- a/api/hashes/alloc-only.txt
+++ b/api/hashes/alloc-only.txt
@@ -613,6 +613,7 @@ pub const fn bitcoin_hashes::siphash24::Hash::from_byte_array(bytes: [u8; 8]) ->
pub const fn bitcoin_hashes::siphash24::Hash::from_bytes_ref(bytes: &[u8; 8]) -> &Self
pub const fn bitcoin_hashes::siphash24::Hash::to_byte_array(self) -> [u8; 8]
pub const fn bitcoin_hashes::siphash24::HashEngine::with_keys(k0: u64, k1: u64) -> Self
+pub extern crate bitcoin_hashes::encoding
pub fn bitcoin_hashes::Hash::as_byte_array(&self) -> &Self::Bytes
pub fn bitcoin_hashes::Hash::from_byte_array(bytes: Self::Bytes) -> Self
pub fn bitcoin_hashes::Hash::to_byte_array(self) -> Self::Bytes
diff --git a/api/hashes/no-features.txt b/api/hashes/no-features.txt
index aaff7e2e..fffd6189 100644
--- a/api/hashes/no-features.txt
+++ b/api/hashes/no-features.txt
@@ -613,6 +613,7 @@ pub const fn bitcoin_hashes::siphash24::Hash::from_byte_array(bytes: [u8; 8]) ->
pub const fn bitcoin_hashes::siphash24::Hash::from_bytes_ref(bytes: &[u8; 8]) -> &Self
pub const fn bitcoin_hashes::siphash24::Hash::to_byte_array(self) -> [u8; 8]
pub const fn bitcoin_hashes::siphash24::HashEngine::with_keys(k0: u64, k1: u64) -> Self
+pub extern crate bitcoin_hashes::encoding
pub fn bitcoin_hashes::Hash::as_byte_array(&self) -> &Self::Bytes
pub fn bitcoin_hashes::Hash::from_byte_array(bytes: Self::Bytes) -> Self
pub fn bitcoin_hashes::Hash::to_byte_array(self) -> Self::Bytes
diff --git a/api/primitives/all-features.txt b/api/primitives/all-features.txt
index d9ee0e29..d13e727d 100644
--- a/api/primitives/all-features.txt
+++ b/api/primitives/all-features.txt
@@ -1346,6 +1346,7 @@ pub enum bitcoin_primitives::script::ScriptPubKeyTag
pub enum bitcoin_primitives::script::ScriptSigTag
pub enum bitcoin_primitives::script::TapScriptTag
pub enum bitcoin_primitives::script::WitnessScriptTag
+pub extern crate bitcoin_primitives::encoding
pub extern crate bitcoin_primitives::hex
pub fn &'a bitcoin_primitives::script::Script<T>::arbitrary(u: &mut arbitrary::unstructured::Unstructured<'a>) -> arbitrary::error::Result<Self>
pub fn &'a bitcoin_primitives::witness::Witness::into_iter(self) -> Self::IntoIter
diff --git a/api/primitives/alloc-only.txt b/api/primitives/alloc-only.txt
index c1c74181..fe88d39f 100644
--- a/api/primitives/alloc-only.txt
+++ b/api/primitives/alloc-only.txt
@@ -1189,6 +1189,7 @@ pub enum bitcoin_primitives::script::ScriptPubKeyTag
pub enum bitcoin_primitives::script::ScriptSigTag
pub enum bitcoin_primitives::script::TapScriptTag
pub enum bitcoin_primitives::script::WitnessScriptTag
+pub extern crate bitcoin_primitives::encoding
pub fn &'a bitcoin_primitives::witness::Witness::into_iter(self) -> Self::IntoIter
pub fn &[T; N]::eq(&self, rhs: &bitcoin_primitives::witness::Witness) -> bool
pub fn &[T]::eq(&self, rhs: &bitcoin_primitives::witness::Witness) -> bool
diff --git a/api/primitives/no-features.txt b/api/primitives/no-features.txt
index 4e7157d3..d940a2b6 100644
--- a/api/primitives/no-features.txt
+++ b/api/primitives/no-features.txt
@@ -503,6 +503,7 @@ pub const fn bitcoin_primitives::transaction::Version::is_standard(self) -> bool
pub const fn bitcoin_primitives::transaction::Version::maybe_non_standard(version: u32) -> Self
pub const fn bitcoin_primitives::transaction::Version::to_u32(self) -> u32
pub const fn bitcoin_primitives::transaction::VersionDecoder::new() -> Self
+pub extern crate bitcoin_primitives::encoding
pub fn bitcoin_primitives::BlockHash::as_ref(&self) -> &[u8; 32]
pub fn bitcoin_primitives::BlockHash::as_ref(&self) -> &[u8]
pub fn bitcoin_primitives::BlockHash::borrow(&self) -> &[u8; 32]
diff --git a/api/units/all-features.txt b/api/units/all-features.txt
index 8bc005bc..b0d08d30 100644
--- a/api/units/all-features.txt
+++ b/api/units/all-features.txt
@@ -1810,6 +1810,7 @@ pub enum bitcoin_units::relative::error::IsSatisfiedByError
pub enum bitcoin_units::relative::error::IsSatisfiedByHeightError
pub enum bitcoin_units::relative::error::IsSatisfiedByTimeError
pub enum bitcoin_units::result::NumOpResult<T>
+pub extern crate bitcoin_units::encoding
pub fn &bitcoin_units::Amount::add(self, rhs: &bitcoin_units::Amount) -> Self::Output
pub fn &bitcoin_units::Amount::add(self, rhs: &bitcoin_units::result::NumOpResult<bitcoin_units::Amount>) -> Self::Output
pub fn &bitcoin_units::Amount::add(self, rhs: bitcoin_units::Amount) -> Self::Output
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.