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
51
52
53
//! # Design
//!
//! This crate provides a common set of traits for signing and verifying digital signatures intended
//! to be implemented by libraries which produce or contain implementations of digital signature
//! algorithms, and used by libraries which want to produce or verify digital signatures
//! generically.
//!
//! ## Unstable features
//!
//! Despite being post-1.0, this crate includes off-by-default unstable optional features, each of
//! which depends on a pre-1.0 crate.
//!
//! These features are considered exempt from SemVer. See "SemVer Policy Exemptions" for more
//! information.
//!
//! The following unstable features are presently supported:
//!
//! - `digest`: enables the [`DigestSigner`] and [`DigestVerifier`] traits which are based on the
//! [`Digest`] trait from the [`digest`] crate.
//! - `rand_core`: enables the [`RandomizedSigner`] trait for signature systems which rely on a
//! cryptographically secure random number generator for security.
//!
//! [`digest`]: https://docs.rs/digest/
//! [`Digest`]: https://docs.rs/digest/latest/digest/trait.Digest.html
extern crate alloc;
pub use digest;
pub use crate::;
pub use rand_core;