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
#![forbid(unsafe_code)]
#![deny(missing_docs)]
#![warn(clippy::all, clippy::pedantic)]
#![allow(clippy::module_name_repetitions, clippy::must_use_candidate)]
use std::{future::Future, pin::Pin};
pub use self::{
digest::Digest,
error::Error,
sign::{Signer, SignerLayer},
verify::{Verifier, VerifierLayer},
};
mod digest;
mod error;
mod sign;
mod verify;
const BUFFER_SIZE: usize = 25;
pub type BoxFuture<'a, O> = Pin<Box<dyn Future<Output = O> + Send + 'a>>;