31 lines
669 B
Rust
31 lines
669 B
Rust
#![allow(clippy::module_name_repetitions, clippy::must_use_candidate)]
|
|
#![doc = include_str!("../README.md")]
|
|
|
|
pub mod extended_key;
|
|
pub mod request;
|
|
|
|
mod index;
|
|
mod path;
|
|
|
|
#[doc(hidden)]
|
|
pub mod private_key;
|
|
|
|
#[doc(hidden)]
|
|
pub mod public_key;
|
|
|
|
#[cfg(test)]
|
|
mod tests;
|
|
|
|
#[doc(inline)]
|
|
pub use crate::extended_key::{
|
|
private_key::{Error as XPrvError, ExtendedPrivateKey, VariableLengthSeed},
|
|
public_key::{Error as XPubError, ExtendedPublicKey},
|
|
};
|
|
|
|
pub use crate::{
|
|
index::{DerivationIndex, Error as IndexError},
|
|
path::{DerivationPath, Error as PathError},
|
|
private_key::{PrivateKey, PrivateKeyError},
|
|
public_key::{PublicKey, PublicKeyError},
|
|
};
|