siphasher/
lib.rs

1#![cfg_attr(not(test), no_std)]
2#![allow(clippy::unreadable_literal)]
3#![allow(clippy::cast_lossless)]
4#![allow(clippy::many_single_char_names)]
5
6pub mod sip;
7pub mod sip128;
8
9#[cfg(test)]
10mod tests;
11
12#[cfg(test)]
13mod tests128;
14
15#[cfg(any(feature = "serde", feature = "serde_std", feature = "serde_no_std"))]
16pub mod reexports {
17    pub use serde;
18}
19
20pub mod prelude {
21    pub use crate::{sip, sip128};
22    pub use core::hash::Hasher as _;
23    pub use sip128::Hasher128 as _;
24}