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 | |
6 | pub mod sip; |
7 | pub mod sip128; |
8 | |
9 | #[cfg (test)] |
10 | mod tests; |
11 | |
12 | #[cfg (test)] |
13 | mod tests128; |
14 | |
15 | #[cfg (any(feature = "serde" , feature = "serde_std" , feature = "serde_no_std" ))] |
16 | pub mod reexports { |
17 | pub use serde; |
18 | } |
19 | |
20 | pub mod prelude { |
21 | pub use crate::{sip, sip128}; |
22 | pub use core::hash::Hasher as _; |
23 | pub use sip128::Hasher128 as _; |
24 | } |
25 | |