1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#![forbid(unsafe_code)] // XXX: Change this to deny later on #![warn(unused_attributes, unused_imports, unused_mut, unused_must_use)] // As usual, we will use this file to carefully define the API/ what we expose to the user pub mod constants; pub mod curve; pub mod decaf; mod field; pub mod ristretto; pub use field::Scalar; #[cfg(test)] mod tests { #[test] fn it_works() { assert_eq!(2 + 2, 4); } }