Skip to content

Commit

Permalink
refactor: export http client
Browse files Browse the repository at this point in the history
  • Loading branch information
thesimplekid committed Apr 13, 2024
1 parent 9e26c48 commit 664776f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/cdk/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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};
Expand All @@ -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>;

0 comments on commit 664776f

Please sign in to comment.