diff --git a/bellman/src/lib.rs b/bellman/src/lib.rs index e8ebaae..a75c85f 100644 --- a/bellman/src/lib.rs +++ b/bellman/src/lib.rs @@ -1,13 +1,3 @@ - - - - - - - - - - #[cfg(feature = "multicore")] extern crate crossbeam; @@ -21,10 +11,6 @@ extern crate hex_literal; #[cfg(test)] extern crate rand; - - - - pub mod domain; pub mod gadgets; #[cfg(feature = "groth16")] diff --git a/bellman/tests/mimc.rs b/bellman/tests/mimc.rs index 7db26a5..e9a4c7c 100644 --- a/bellman/tests/mimc.rs +++ b/bellman/tests/mimc.rs @@ -1,8 +1,3 @@ - - - - - // For randomness (during paramgen and proof generation) use rand::thread_rng; diff --git a/ff/src/lib.rs b/ff/src/lib.rs index 14e3594..fb692c2 100644 --- a/ff/src/lib.rs +++ b/ff/src/lib.rs @@ -1,8 +1,5 @@ #![allow(unused_imports)] - - - #[cfg(feature = "derive")] #[macro_use] extern crate ff_derive; diff --git a/group/src/lib.rs b/group/src/lib.rs index ab8ac0e..0d50f8a 100644 --- a/group/src/lib.rs +++ b/group/src/lib.rs @@ -1,7 +1,3 @@ - - - - use ff::{PrimeField, PrimeFieldDecodingError, ScalarEngine, SqrtField}; use rand::RngCore; use std::error::Error; diff --git a/librustzcash/src/rustzcash.rs b/librustzcash/src/rustzcash.rs index 8d95880..ea1676d 100644 --- a/librustzcash/src/rustzcash.rs +++ b/librustzcash/src/rustzcash.rs @@ -1,15 +1,3 @@ - - - - - - - - - - - - use lazy_static; use ff::{PrimeField, PrimeFieldRepr}; diff --git a/pairing/src/lib.rs b/pairing/src/lib.rs index 4c1f6b7..b5b46e3 100644 --- a/pairing/src/lib.rs +++ b/pairing/src/lib.rs @@ -11,13 +11,6 @@ // Force public structures to implement Debug #![deny(missing_debug_implementations)] - - - - - - - #[cfg(test)] pub mod tests; diff --git a/zcash_primitives/src/lib.rs b/zcash_primitives/src/lib.rs index 5dd5f58..644d7fb 100644 --- a/zcash_primitives/src/lib.rs +++ b/zcash_primitives/src/lib.rs @@ -1,26 +1,10 @@ #[macro_use] extern crate lazy_static; - - - - - - - - - - - - - - #[cfg(test)] #[macro_use] extern crate hex_literal; - - pub mod block; pub mod constants; pub mod group_hash;