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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#![no_std]
#![forbid(unsafe_code)]
#![warn(missing_docs, rust_2018_idioms, unused_qualifications)]
#![doc(
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo_small.png",
html_root_url = "https://docs.rs/signature/1.0.0-pre.1"
)]
#[cfg(feature = "std")]
#[macro_use]
extern crate std;
#[cfg(feature = "derive-preview")]
#[allow(unused_imports)]
#[macro_use]
extern crate signature_derive;
#[cfg(feature = "derive-preview")]
#[doc(hidden)]
pub use signature_derive::{Signer, Verifier};
#[cfg(feature = "digest-preview")]
pub use digest;
mod error;
mod signature;
mod signer;
mod verifier;
pub use crate::{error::*, signature::*, signer::*, verifier::*};