What changed, and why it matters
This commit only updates generated API text files that list what functions are publicly available in the library. It removes lines that described four internal 'unchecked' hex-parsing helper functions from the public API snapshot. There is no actual code change, no bug fix, and no security-relevant behavior change visible in the diff.
No security action needed. Treat as routine API-snapshot maintenance. If reviewing for release notes, verify the companion source-code commit that actually removed or made private the `hex_*_unchecked` functions.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff modifies three API snapshot files under units/api/ (all-features.txt, alloc-only.txt, no-features.txt). Each file loses four lines of the form pub fn bitcoin_units::parse_int::hex_u{16,32,64,128}_unchecked(...). These snapshots are produced by rustdoc/public-API tooling to track the crate’s exposed API surface. The commit does not touch source code, does not change function implementations, and does not alter visibility attributes directly. It merely records that the unchecked helpers are no longer part of the public API snapshot, likely as a follow-up to an earlier source-code change.
Changed components
units/api/all-features.txtunits/api/alloc-only.txtunits/api/no-features.txtInspect captured patch +0 / −12
diff --git a/units/api/all-features.txt b/units/api/all-features.txt
index ae11348a..b6cb3a82 100644
--- a/units/api/all-features.txt
+++ b/units/api/all-features.txt
@@ -3655,19 +3655,15 @@ pub fn bitcoin_units::parse_int::hex_check_unprefixed(s: &str) -> core::result::
pub fn bitcoin_units::parse_int::hex_remove_prefix(s: &str) -> core::result::Result<&str, bitcoin_units::parse_int::error::PrefixedHexError>
pub fn bitcoin_units::parse_int::hex_u128(s: &str) -> core::result::Result<u128, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::hex_u128_prefixed(s: &str) -> core::result::Result<u128, bitcoin_units::parse_int::error::PrefixedHexError>
-pub fn bitcoin_units::parse_int::hex_u128_unchecked(s: &str) -> core::result::Result<u128, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::hex_u128_unprefixed(s: &str) -> core::result::Result<u128, bitcoin_units::parse_int::error::UnprefixedHexError>
pub fn bitcoin_units::parse_int::hex_u16(s: &str) -> core::result::Result<u16, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::hex_u16_prefixed(s: &str) -> core::result::Result<u16, bitcoin_units::parse_int::error::PrefixedHexError>
-pub fn bitcoin_units::parse_int::hex_u16_unchecked(s: &str) -> core::result::Result<u16, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::hex_u16_unprefixed(s: &str) -> core::result::Result<u16, bitcoin_units::parse_int::error::UnprefixedHexError>
pub fn bitcoin_units::parse_int::hex_u32(s: &str) -> core::result::Result<u32, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::hex_u32_prefixed(s: &str) -> core::result::Result<u32, bitcoin_units::parse_int::error::PrefixedHexError>
-pub fn bitcoin_units::parse_int::hex_u32_unchecked(s: &str) -> core::result::Result<u32, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::hex_u32_unprefixed(s: &str) -> core::result::Result<u32, bitcoin_units::parse_int::error::UnprefixedHexError>
pub fn bitcoin_units::parse_int::hex_u64(s: &str) -> core::result::Result<u64, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::hex_u64_prefixed(s: &str) -> core::result::Result<u64, bitcoin_units::parse_int::error::PrefixedHexError>
-pub fn bitcoin_units::parse_int::hex_u64_unchecked(s: &str) -> core::result::Result<u64, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::hex_u64_unprefixed(s: &str) -> core::result::Result<u64, bitcoin_units::parse_int::error::UnprefixedHexError>
pub fn bitcoin_units::parse_int::int_from_box<T: bitcoin_units::parse_int::Integer>(s: alloc::boxed::Box<str>) -> core::result::Result<T, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::int_from_str<T: bitcoin_units::parse_int::Integer>(s: &str) -> core::result::Result<T, bitcoin_units::parse_int::error::ParseIntError>
diff --git a/units/api/alloc-only.txt b/units/api/alloc-only.txt
index 4ee1abc3..b7841367 100644
--- a/units/api/alloc-only.txt
+++ b/units/api/alloc-only.txt
@@ -3027,19 +3027,15 @@ pub fn bitcoin_units::parse_int::hex_check_unprefixed(s: &str) -> core::result::
pub fn bitcoin_units::parse_int::hex_remove_prefix(s: &str) -> core::result::Result<&str, bitcoin_units::parse_int::error::PrefixedHexError>
pub fn bitcoin_units::parse_int::hex_u128(s: &str) -> core::result::Result<u128, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::hex_u128_prefixed(s: &str) -> core::result::Result<u128, bitcoin_units::parse_int::error::PrefixedHexError>
-pub fn bitcoin_units::parse_int::hex_u128_unchecked(s: &str) -> core::result::Result<u128, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::hex_u128_unprefixed(s: &str) -> core::result::Result<u128, bitcoin_units::parse_int::error::UnprefixedHexError>
pub fn bitcoin_units::parse_int::hex_u16(s: &str) -> core::result::Result<u16, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::hex_u16_prefixed(s: &str) -> core::result::Result<u16, bitcoin_units::parse_int::error::PrefixedHexError>
-pub fn bitcoin_units::parse_int::hex_u16_unchecked(s: &str) -> core::result::Result<u16, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::hex_u16_unprefixed(s: &str) -> core::result::Result<u16, bitcoin_units::parse_int::error::UnprefixedHexError>
pub fn bitcoin_units::parse_int::hex_u32(s: &str) -> core::result::Result<u32, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::hex_u32_prefixed(s: &str) -> core::result::Result<u32, bitcoin_units::parse_int::error::PrefixedHexError>
-pub fn bitcoin_units::parse_int::hex_u32_unchecked(s: &str) -> core::result::Result<u32, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::hex_u32_unprefixed(s: &str) -> core::result::Result<u32, bitcoin_units::parse_int::error::UnprefixedHexError>
pub fn bitcoin_units::parse_int::hex_u64(s: &str) -> core::result::Result<u64, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::hex_u64_prefixed(s: &str) -> core::result::Result<u64, bitcoin_units::parse_int::error::PrefixedHexError>
-pub fn bitcoin_units::parse_int::hex_u64_unchecked(s: &str) -> core::result::Result<u64, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::hex_u64_unprefixed(s: &str) -> core::result::Result<u64, bitcoin_units::parse_int::error::UnprefixedHexError>
pub fn bitcoin_units::parse_int::int_from_box<T: bitcoin_units::parse_int::Integer>(s: alloc::boxed::Box<str>) -> core::result::Result<T, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::int_from_str<T: bitcoin_units::parse_int::Integer>(s: &str) -> core::result::Result<T, bitcoin_units::parse_int::error::ParseIntError>
diff --git a/units/api/no-features.txt b/units/api/no-features.txt
index 8c32fcdd..740013be 100644
--- a/units/api/no-features.txt
+++ b/units/api/no-features.txt
@@ -2711,19 +2711,15 @@ pub fn bitcoin_units::parse_int::hex_check_unprefixed(s: &str) -> core::result::
pub fn bitcoin_units::parse_int::hex_remove_prefix(s: &str) -> core::result::Result<&str, bitcoin_units::parse_int::error::PrefixedHexError>
pub fn bitcoin_units::parse_int::hex_u128(s: &str) -> core::result::Result<u128, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::hex_u128_prefixed(s: &str) -> core::result::Result<u128, bitcoin_units::parse_int::error::PrefixedHexError>
-pub fn bitcoin_units::parse_int::hex_u128_unchecked(s: &str) -> core::result::Result<u128, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::hex_u128_unprefixed(s: &str) -> core::result::Result<u128, bitcoin_units::parse_int::error::UnprefixedHexError>
pub fn bitcoin_units::parse_int::hex_u16(s: &str) -> core::result::Result<u16, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::hex_u16_prefixed(s: &str) -> core::result::Result<u16, bitcoin_units::parse_int::error::PrefixedHexError>
-pub fn bitcoin_units::parse_int::hex_u16_unchecked(s: &str) -> core::result::Result<u16, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::hex_u16_unprefixed(s: &str) -> core::result::Result<u16, bitcoin_units::parse_int::error::UnprefixedHexError>
pub fn bitcoin_units::parse_int::hex_u32(s: &str) -> core::result::Result<u32, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::hex_u32_prefixed(s: &str) -> core::result::Result<u32, bitcoin_units::parse_int::error::PrefixedHexError>
-pub fn bitcoin_units::parse_int::hex_u32_unchecked(s: &str) -> core::result::Result<u32, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::hex_u32_unprefixed(s: &str) -> core::result::Result<u32, bitcoin_units::parse_int::error::UnprefixedHexError>
pub fn bitcoin_units::parse_int::hex_u64(s: &str) -> core::result::Result<u64, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::hex_u64_prefixed(s: &str) -> core::result::Result<u64, bitcoin_units::parse_int::error::PrefixedHexError>
-pub fn bitcoin_units::parse_int::hex_u64_unchecked(s: &str) -> core::result::Result<u64, bitcoin_units::parse_int::error::ParseIntError>
pub fn bitcoin_units::parse_int::hex_u64_unprefixed(s: &str) -> core::result::Result<u64, bitcoin_units::parse_int::error::UnprefixedHexError>
pub fn bitcoin_units::parse_int::int_from_str<T: bitcoin_units::parse_int::Integer>(s: &str) -> core::result::Result<T, bitcoin_units::parse_int::error::ParseIntError>
pub mod bitcoin_units::pow
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.