web3_address/
lib.rs

1//! Address types to represent public keys on various blockchains.
2//!
3//! More types will be added in the future.
4#![deny(missing_docs)]
5#![cfg_attr(all(doc, CHANNEL_NIGHTLY), feature(doc_auto_cfg))]
6mod error;
7
8#[cfg(feature = "ethereum")]
9pub mod ethereum;
10
11pub use error::Error;
12
13/// Result type for the address library.
14pub type Result<T> = std::result::Result<T, Error>;