summaryrefslogtreecommitdiffstats
path: root/third_party/rust/siphasher/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/siphasher/src/lib.rs')
-rw-r--r--third_party/rust/siphasher/src/lib.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/third_party/rust/siphasher/src/lib.rs b/third_party/rust/siphasher/src/lib.rs
new file mode 100644
index 0000000000..6908f40d6e
--- /dev/null
+++ b/third_party/rust/siphasher/src/lib.rs
@@ -0,0 +1,16 @@
+#![cfg_attr(not(test), no_std)]
+
+#![allow(clippy::unreadable_literal)]
+#![allow(clippy::cast_lossless)]
+
+#[cfg(test)]
+extern crate core;
+
+pub mod sip;
+pub mod sip128;
+
+#[cfg(test)]
+mod tests;
+
+#[cfg(test)]
+mod tests128;