totp_rfc/lib.rs
1#![cfg_attr(not(feature = "std"), no_std)]
2#![doc = include_str!("../README.md")]
3
4mod code;
5mod error;
6mod hotp;
7mod secret;
8mod totp;
9
10pub use code::{Code, Digits};
11pub use error::{CodeError, Error};
12pub use hotp::{Hotp, HotpMatch};
13pub use secret::{Secret, MIN_SECRET_BYTES};
14pub use totp::{Algorithm, Totp, TotpMatch, ValidationWindow, VerifyError};