1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//! Fuel cryptographic primitives.

#![cfg_attr(not(feature = "std"), no_std)]
#![warn(missing_docs)]
// Wrong clippy convention; check
// https://rust-lang.github.io/api-guidelines/naming.html
#![allow(clippy::wrong_self_convention)]

/// Required export to implement [`Keystore`].
pub use borrown;

mod error;
mod hasher;
mod keystore;
mod message;
mod public;
mod secret;
mod signature;

#[cfg(feature = "std")]
mod signer;

pub use error::Error;
pub use hasher::Hasher;
pub use keystore::Keystore;
pub use message::Message;
pub use public::PublicKey;
pub use secret::SecretKey;
pub use signature::Signature;

#[cfg(feature = "std")]
pub use signer::Signer;