mirror of
https://github.com/aljazceru/cdk.git
synced 2026-02-05 05:06:14 +01:00
refactor: export http client
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
extern crate core;
|
||||
|
||||
#[cfg(any(feature = "mint", feature = "wallet"))]
|
||||
pub use bip39::Mnemonic;
|
||||
pub use bitcoin::hashes::sha256::Hash as Sha256;
|
||||
pub use bitcoin::secp256k1;
|
||||
pub use lightning_invoice::{self, Bolt11Invoice};
|
||||
@@ -21,6 +23,8 @@ pub mod util;
|
||||
pub mod wallet;
|
||||
|
||||
pub use self::amount::Amount;
|
||||
#[cfg(feature = "wallet")]
|
||||
pub use self::client::HttpClient;
|
||||
pub use self::util::SECP256K1;
|
||||
|
||||
pub type Result<T, E = Box<dyn std::error::Error>> = std::result::Result<T, E>;
|
||||
|
||||
Reference in New Issue
Block a user