From 9a1623c1dca7be074476d1debb59bf5f7478a007 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Wed, 26 Oct 2022 10:54:43 +1100 Subject: [PATCH] Re-export hashbrown when enabled `hashbrown` used to be exported until commit 23ee0930c75c3c028572c521e0906fd4f95b6b92 which removed the `pub extern crate` declaration. --- bitcoin/src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bitcoin/src/lib.rs b/bitcoin/src/lib.rs index a7dfc845..07465c0a 100644 --- a/bitcoin/src/lib.rs +++ b/bitcoin/src/lib.rs @@ -70,6 +70,11 @@ pub use {bech32, bitcoin_hashes as hashes, secp256k1}; #[cfg_attr(docsrs, doc(cfg(feature = "base64")))] pub use base64; +// Re-export hashbrown when enabled +#[cfg(feature = "hashbrown")] +#[cfg_attr(docsrs, doc(cfg(feature = "hashbrown")))] +pub use hashbrown; + #[cfg(feature = "serde")] #[macro_use] extern crate actual_serde as serde;