What changed, and why it matters
This commit only updates a generated text file listing the public API surface of the crate. It adds four new public methods for converting Bitcoin scripts to/from hex strings. There is no code change, no bug fix, and no security relevance visible in the diff.
No action required. This is a routine API-snapshot update with no security implications.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit updates api/primitives/all-features.txt, an auto-generated API snapshot produced by just check-api. The diff records newly exposed public functions on Script
Changed components
api/primitives/all-features.txtInspect captured patch +4 / −0
diff --git a/api/primitives/all-features.txt b/api/primitives/all-features.txt
index 3539fe14..394b29bd 100644
--- a/api/primitives/all-features.txt
+++ b/api/primitives/all-features.txt
@@ -1661,6 +1661,8 @@ pub fn bitcoin_primitives::script::Script<T>::partial_cmp(&self, other: &bitcoin
pub fn bitcoin_primitives::script::Script<T>::serialize<S>(&self, serializer: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error> where S: serde::ser::Serializer
pub fn bitcoin_primitives::script::Script<T>::to_bytes(&self) -> alloc::vec::Vec<u8>
pub fn bitcoin_primitives::script::Script<T>::to_hex(&self) -> alloc::string::String
+pub fn bitcoin_primitives::script::Script<T>::to_hex_string_no_length_prefix(&self) -> alloc::string::String
+pub fn bitcoin_primitives::script::Script<T>::to_hex_string_prefixed(&self) -> alloc::string::String
pub fn bitcoin_primitives::script::Script<T>::to_owned(&self) -> Self::Owned
pub fn bitcoin_primitives::script::Script<T>::to_vec(&self) -> alloc::vec::Vec<u8>
pub fn bitcoin_primitives::script::ScriptBuf<T>::arbitrary(u: &mut arbitrary::unstructured::Unstructured<'a>) -> arbitrary::error::Result<Self>
@@ -1686,6 +1688,8 @@ pub fn bitcoin_primitives::script::ScriptBuf<T>::fmt(&self, f: &mut core::fmt::F
pub fn bitcoin_primitives::script::ScriptBuf<T>::from(v: alloc::vec::Vec<u8>) -> Self
pub fn bitcoin_primitives::script::ScriptBuf<T>::from(value: &'a bitcoin_primitives::script::Script<T>) -> Self
pub fn bitcoin_primitives::script::ScriptBuf<T>::from(value: alloc::borrow::Cow<'a, bitcoin_primitives::script::Script<T>>) -> Self
+pub fn bitcoin_primitives::script::ScriptBuf<T>::from_hex_no_length_prefix(s: &str) -> core::result::Result<Self, hex_conservative::error::DecodeVariableLengthBytesError>
+pub fn bitcoin_primitives::script::ScriptBuf<T>::from_hex_prefixed(s: &str) -> core::result::Result<Self, bitcoin_primitives::script::owned::FromHexError>
pub fn bitcoin_primitives::script::ScriptBuf<T>::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
pub fn bitcoin_primitives::script::ScriptBuf<T>::into_boxed_script(self) -> alloc::boxed::Box<bitcoin_primitives::script::Script<T>>
pub fn bitcoin_primitives::script::ScriptBuf<T>::into_bytes(self) -> alloc::vec::Vec<u8>
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.