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    #[cfg(feature = "serde_json")]
19    pub use serde_json;
20}
21
22pub mod prelude {
23    pub use core::hash::Hasher as _;
24
25    pub use sip128::Hasher128 as _;
26
27    pub use crate::{sip, sip128};
28}