Re-export base64 when enabled

This commit is contained in:
Alekos Filini 2022-10-25 11:02:02 +02:00
parent afcdfa4a59
commit dea9b1d1e0
No known key found for this signature in database
GPG Key ID: 431401E4A4530061
1 changed files with 5 additions and 0 deletions

View File

@ -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;