#![cfg_attr(not(feature = "std"), no_std)]
#[cfg(feature = "alloc")]
extern crate alloc;
#[cfg(feature = "alloc")]
mod address;
#[cfg(feature = "alloc")]
mod deriver;
mod error;
mod network;
#[cfg(feature = "alloc")]
mod standard_wallet;
mod types;
#[cfg(feature = "alloc")]
pub use deriver::{DerivedAddress, Deriver};
pub use error::Error;
pub use network::{Network, ParseNetworkError};
#[cfg(feature = "alloc")]
pub use standard_wallet::StandardWallet;
#[cfg(feature = "alloc")]
pub use types::DerivationPath;
pub use types::{AddressType, ParseAddressTypeError};
pub type Result<T> = core::result::Result<T, Error>;