1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
//! This crate provides a simple interface for interacting with Bitcoin mainnet,
//! testnet, and signet.
#![forbid(unsafe_code)]
#![warn(missing_docs)]
#![warn(unused_extern_crates)]
pub mod builder;
pub mod enc;
pub mod hashes;
pub mod nets;
pub mod types;
/// Common re-exports
pub mod prelude;
#[doc(hidden)]
#[cfg(any(feature = "mainnet", feature = "testnet"))]
pub mod defaults;
#[cfg(any(feature = "mainnet", feature = "testnet"))]
pub use defaults::network::{Encoder, Net};
pub use nets::*;