Merge rust-bitcoin/rust-bitcoin#1342: Re-export base64 when enabled
dea9b1d1e0
Re-export base64 when enabled (Alekos Filini) Pull request description: `base64` used to be exported until commit23ee0930c7
which removed the `pub extern crate` declaration. ACKs for top commit: Kixunil: ACKdea9b1d1e0
apoelstra: ACKdea9b1d1e0
Tree-SHA512: 2f32b6676aab9881bab9eb0ae61910ec0d4b60cb17c8a7bf8155ec4a13e50abce0061b52f4e81b106b938e99cb68329d027291c1702213cfa2a46734ebadb488
This commit is contained in:
commit
391cfd67bd
|
@ -65,6 +65,11 @@ extern crate alloc;
|
|||
pub use bitcoinconsensus;
|
||||
pub use {bech32, bitcoin_hashes as hashes, secp256k1};
|
||||
|
||||
// Re-export base64 when enabled
|
||||
#[cfg(feature = "base64")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "base64")))]
|
||||
pub use base64;
|
||||
|
||||
#[cfg(feature = "serde")]
|
||||
#[macro_use]
|
||||
extern crate actual_serde as serde;
|
||||
|
|
Loading…
Reference in New Issue