diff --git a/api/bitcoin/all-features.txt b/api/bitcoin/all-features.txt index 20a318d280..14d6c1eb4f 100644 --- a/api/bitcoin/all-features.txt +++ b/api/bitcoin/all-features.txt @@ -10566,7 +10566,20 @@ pub use bitcoin::locktime::absolute::Time pub use bitcoin::locktime::relative::Height pub use bitcoin::locktime::relative::Time pub use bitcoin::locktime::relative::TimeOverflowError +pub use bitcoin::parse::ContainsPrefixError +pub use bitcoin::parse::MissingPrefixError pub use bitcoin::parse::ParseIntError +pub use bitcoin::parse::PrefixedHexError +pub use bitcoin::parse::UnprefixedHexError +pub use bitcoin::parse::hex_check_unprefixed +pub use bitcoin::parse::hex_remove_prefix +pub use bitcoin::parse::hex_u128 +pub use bitcoin::parse::hex_u128_unchecked +pub use bitcoin::parse::hex_u128_unprefixed +pub use bitcoin::parse::hex_u32 +pub use bitcoin::parse::hex_u32_unchecked +pub use bitcoin::parse::hex_u32_unprefixed +pub use bitcoin::parse::int pub use bitcoin::relative::Height pub use bitcoin::relative::Time pub use bitcoin::relative::TimeOverflowError diff --git a/api/bitcoin/default-features.txt b/api/bitcoin/default-features.txt index 0643c7c0f4..7f1f06159e 100644 --- a/api/bitcoin/default-features.txt +++ b/api/bitcoin/default-features.txt @@ -10022,7 +10022,20 @@ pub use bitcoin::locktime::absolute::Time pub use bitcoin::locktime::relative::Height pub use bitcoin::locktime::relative::Time pub use bitcoin::locktime::relative::TimeOverflowError +pub use bitcoin::parse::ContainsPrefixError +pub use bitcoin::parse::MissingPrefixError pub use bitcoin::parse::ParseIntError +pub use bitcoin::parse::PrefixedHexError +pub use bitcoin::parse::UnprefixedHexError +pub use bitcoin::parse::hex_check_unprefixed +pub use bitcoin::parse::hex_remove_prefix +pub use bitcoin::parse::hex_u128 +pub use bitcoin::parse::hex_u128_unchecked +pub use bitcoin::parse::hex_u128_unprefixed +pub use bitcoin::parse::hex_u32 +pub use bitcoin::parse::hex_u32_unchecked +pub use bitcoin::parse::hex_u32_unprefixed +pub use bitcoin::parse::int pub use bitcoin::relative::Height pub use bitcoin::relative::Time pub use bitcoin::relative::TimeOverflowError diff --git a/api/bitcoin/no-features.txt b/api/bitcoin/no-features.txt index 5dc7e5b1f5..7adcdf7dc8 100644 --- a/api/bitcoin/no-features.txt +++ b/api/bitcoin/no-features.txt @@ -9092,7 +9092,20 @@ pub use bitcoin::locktime::absolute::Time pub use bitcoin::locktime::relative::Height pub use bitcoin::locktime::relative::Time pub use bitcoin::locktime::relative::TimeOverflowError +pub use bitcoin::parse::ContainsPrefixError +pub use bitcoin::parse::MissingPrefixError pub use bitcoin::parse::ParseIntError +pub use bitcoin::parse::PrefixedHexError +pub use bitcoin::parse::UnprefixedHexError +pub use bitcoin::parse::hex_check_unprefixed +pub use bitcoin::parse::hex_remove_prefix +pub use bitcoin::parse::hex_u128 +pub use bitcoin::parse::hex_u128_unchecked +pub use bitcoin::parse::hex_u128_unprefixed +pub use bitcoin::parse::hex_u32 +pub use bitcoin::parse::hex_u32_unchecked +pub use bitcoin::parse::hex_u32_unprefixed +pub use bitcoin::parse::int pub use bitcoin::relative::Height pub use bitcoin::relative::Time pub use bitcoin::relative::TimeOverflowError diff --git a/bitcoin/src/lib.rs b/bitcoin/src/lib.rs index 5fdbe4fb17..eb2295551d 100644 --- a/bitcoin/src/lib.rs +++ b/bitcoin/src/lib.rs @@ -199,7 +199,12 @@ pub mod amount { /// Unit parsing utilities. pub mod parse { /// Re-export everything from the [`units::parse`] module. - pub use units::parse::ParseIntError; + #[doc(inline)] + pub use units::parse::{ + hex_check_unprefixed, hex_remove_prefix, hex_u128, hex_u128_unchecked, hex_u128_unprefixed, + hex_u32, hex_u32_unchecked, hex_u32_unprefixed, int, ContainsPrefixError, + MissingPrefixError, ParseIntError, PrefixedHexError, UnprefixedHexError, + }; } mod encode_impls {