diff --git a/api/hashes/alloc-only.txt b/api/hashes/alloc-only.txt index 50246e2d4..93d5bf78e 100644 --- a/api/hashes/alloc-only.txt +++ b/api/hashes/alloc-only.txt @@ -859,7 +859,6 @@ pub fn bitcoin_hashes::siphash24::State::fmt(&self, f: &mut core::fmt::Formatter pub macro bitcoin_hashes::hash_newtype! pub macro bitcoin_hashes::impl_debug_only_for_newtype! pub macro bitcoin_hashes::impl_hex_for_newtype! -pub macro bitcoin_hashes::serde_impl! pub macro bitcoin_hashes::sha256t_hash_newtype! pub macro bitcoin_hashes::sha256t_tag! pub mod bitcoin_hashes diff --git a/api/hashes/no-features.txt b/api/hashes/no-features.txt index 5283250bd..e1ce22551 100644 --- a/api/hashes/no-features.txt +++ b/api/hashes/no-features.txt @@ -806,7 +806,6 @@ pub fn bitcoin_hashes::siphash24::State::clone(&self) -> bitcoin_hashes::siphash pub fn bitcoin_hashes::siphash24::State::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub macro bitcoin_hashes::hash_newtype! pub macro bitcoin_hashes::impl_debug_only_for_newtype! -pub macro bitcoin_hashes::serde_impl! pub macro bitcoin_hashes::sha256t_hash_newtype! pub macro bitcoin_hashes::sha256t_tag! pub mod bitcoin_hashes diff --git a/hashes/src/macros.rs b/hashes/src/macros.rs index 3d5382aec..dc134577a 100644 --- a/hashes/src/macros.rs +++ b/hashes/src/macros.rs @@ -533,6 +533,7 @@ macro_rules! serde_impl( )); /// Does an "empty" serde implementation for the configuration without serde feature. +#[doc(hidden)] #[macro_export] #[cfg(not(feature = "serde"))] macro_rules! serde_impl(