ed25519_bip32_core/
lib.rs1#![cfg_attr(not(feature = "std"), no_std)]
14#![cfg_attr(not(feature = "std"), feature(error_in_core))]
15
16#![cfg_attr(feature = "with-bench", feature(test))]
17#[cfg(test)]
18#[cfg(feature = "with-bench")]
19extern crate test;
20
21#[cfg(not(feature = "std"))]
22extern crate alloc;
23
24#[cfg(not(feature = "std"))]
25extern crate core;
26
27mod derivation;
28mod hex;
29mod key;
30mod securemem;
31mod signature;
32
33#[cfg(test)]
34mod tests;
35
36#[cfg(test)]
37#[cfg(feature = "with-bench")]
38mod bench;
39
40pub use derivation::{DerivationError, DerivationIndex, DerivationScheme};
41pub use key::{PrivateKeyError, PublicKeyError, XPrv, XPub, XPRV_SIZE, XPUB_SIZE};
42pub use signature::{Signature, SignatureError, SIGNATURE_SIZE};