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