1#![cfg_attr(not(feature = "std"), no_std)]
12
13#[cfg(feature = "alloc")]
14extern crate alloc;
15
16#[cfg(feature = "alloc")]
17mod address;
18#[cfg(feature = "alloc")]
19mod deriver;
20mod error;
21mod network;
22#[cfg(feature = "alloc")]
23mod standard_wallet;
24mod types;
25
26#[cfg(feature = "alloc")]
27pub use deriver::{DerivedAddress, Deriver};
28pub use error::Error;
29pub use network::{Network, ParseNetworkError};
30#[cfg(feature = "alloc")]
31pub use standard_wallet::StandardWallet;
32#[cfg(feature = "alloc")]
33pub use types::DerivationPath;
34pub use types::{AddressType, ParseAddressTypeError};
35
36pub type Result<T> = core::result::Result<T, Error>;