cargo fmt

This commit is contained in:
Eirik Ogilvie-Wigley
2019-08-20 22:22:03 -06:00
parent c28ae31c71
commit 76795a9014
7 changed files with 0 additions and 61 deletions

View File

@@ -1,13 +1,3 @@
#[cfg(feature = "multicore")] #[cfg(feature = "multicore")]
extern crate crossbeam; extern crate crossbeam;
@@ -21,10 +11,6 @@ extern crate hex_literal;
#[cfg(test)] #[cfg(test)]
extern crate rand; extern crate rand;
pub mod domain; pub mod domain;
pub mod gadgets; pub mod gadgets;
#[cfg(feature = "groth16")] #[cfg(feature = "groth16")]

View File

@@ -1,8 +1,3 @@
// For randomness (during paramgen and proof generation) // For randomness (during paramgen and proof generation)
use rand::thread_rng; use rand::thread_rng;

View File

@@ -1,8 +1,5 @@
#![allow(unused_imports)] #![allow(unused_imports)]
#[cfg(feature = "derive")] #[cfg(feature = "derive")]
#[macro_use] #[macro_use]
extern crate ff_derive; extern crate ff_derive;

View File

@@ -1,7 +1,3 @@
use ff::{PrimeField, PrimeFieldDecodingError, ScalarEngine, SqrtField}; use ff::{PrimeField, PrimeFieldDecodingError, ScalarEngine, SqrtField};
use rand::RngCore; use rand::RngCore;
use std::error::Error; use std::error::Error;

View File

@@ -1,15 +1,3 @@
use lazy_static; use lazy_static;
use ff::{PrimeField, PrimeFieldRepr}; use ff::{PrimeField, PrimeFieldRepr};

View File

@@ -11,13 +11,6 @@
// Force public structures to implement Debug // Force public structures to implement Debug
#![deny(missing_debug_implementations)] #![deny(missing_debug_implementations)]
#[cfg(test)] #[cfg(test)]
pub mod tests; pub mod tests;

View File

@@ -1,26 +1,10 @@
#[macro_use] #[macro_use]
extern crate lazy_static; extern crate lazy_static;
#[cfg(test)] #[cfg(test)]
#[macro_use] #[macro_use]
extern crate hex_literal; extern crate hex_literal;
pub mod block; pub mod block;
pub mod constants; pub mod constants;
pub mod group_hash; pub mod group_hash;