Skip to content

Commit

Permalink
Merge pull request #49 from ok300/ok300-re-export-common-libs
Browse files Browse the repository at this point in the history
Re-export common libs
  • Loading branch information
i5hi authored May 28, 2024
2 parents 866d7a0 + acea8fe commit 6e1b2cc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ pub mod swaps;
/// utilities (key, preimage, error)
pub mod util;

// Re-export common libs, so callers can make use of them and avoid version conflicts
pub use bitcoin;
pub use elements;
pub use lightning_invoice;

// Re-export relevant structs under boltz_client::StructName for simplicity
pub use bitcoin::{
blockdata::locktime::absolute::LockTime,
hashes::hash160::Hash,
Expand Down

0 comments on commit 6e1b2cc

Please sign in to comment.