use std::result;
use ex3_node_error::Error;
pub use bip::bip44;
pub type Result<T> = result::Result<T, Error>;
mod bip;
#[cfg(feature = "secp256k1")]
pub mod secp256k1;
mod error;
#[cfg(feature = "hash")]
mod hash;
#[cfg(feature = "hash")]
pub use hash::*;
#[cfg(feature = "verify")]
pub mod verify;
#[cfg(feature = "canister")]
pub fn always_fail(_buf: &mut [u8]) -> result::Result<(), getrandom::Error> {
Err(getrandom::Error::UNSUPPORTED)
}
#[cfg(feature = "canister")]
getrandom::register_custom_getrandom!(always_fail);