58 lines
1.2 KiB
Rust
58 lines
1.2 KiB
Rust
pub extern crate bitcoin;
|
|
extern crate log;
|
|
pub extern crate miniscript;
|
|
extern crate serde;
|
|
#[macro_use]
|
|
extern crate serde_json;
|
|
|
|
#[cfg(any(target_arch = "wasm32", feature = "async-interface"))]
|
|
#[macro_use]
|
|
extern crate async_trait;
|
|
#[macro_use]
|
|
extern crate magical_macros;
|
|
|
|
#[cfg(any(test, feature = "compact_filters"))]
|
|
#[macro_use]
|
|
extern crate lazy_static;
|
|
|
|
#[cfg(feature = "electrum")]
|
|
pub extern crate electrum_client;
|
|
#[cfg(feature = "electrum")]
|
|
pub use electrum_client::client::Client;
|
|
|
|
#[cfg(feature = "esplora")]
|
|
pub extern crate reqwest;
|
|
#[cfg(feature = "esplora")]
|
|
pub use blockchain::esplora::EsploraBlockchain;
|
|
|
|
#[cfg(feature = "key-value-db")]
|
|
pub extern crate sled;
|
|
|
|
#[cfg(feature = "cli-utils")]
|
|
pub mod cli;
|
|
|
|
#[cfg(test)]
|
|
#[macro_use]
|
|
extern crate testutils;
|
|
#[cfg(test)]
|
|
#[macro_use]
|
|
extern crate testutils_macros;
|
|
#[cfg(test)]
|
|
#[macro_use]
|
|
extern crate serial_test;
|
|
|
|
#[macro_use]
|
|
pub mod error;
|
|
pub mod blockchain;
|
|
pub mod database;
|
|
pub mod descriptor;
|
|
pub mod psbt;
|
|
pub mod signer;
|
|
pub mod types;
|
|
pub mod wallet;
|
|
|
|
pub use descriptor::ExtendedDescriptor;
|
|
pub use wallet::tx_builder::TxBuilder;
|
|
pub use wallet::utils::FeeRate;
|
|
pub use wallet::{OfflineWallet, Wallet};
|