bitcoin_hashes
macro_rules! serde_impl { ($t:ident, $len:expr) => { ... }; }
Does an "empty" serde implementation for the configuration without serde feature