siphasher/
lib.rs

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