Remove unneeded extern crate

This commit is contained in:
NikVolf
2019-10-08 16:06:02 +03:00
parent 39971891d5
commit 7844394364
8 changed files with 7 additions and 30 deletions

View File

@@ -408,6 +408,7 @@ pub fn blake2s<E: ScalarEngine, CS: ConstraintSystem<E>>(
#[cfg(test)]
mod test {
use blake2s_simd::Params as Blake2sParams;
use hex_literal::hex;
use pairing::bls12_381::Bls12;
use rand_core::{RngCore, SeedableRng};
use rand_xorshift::XorShiftRng;

View File

@@ -273,6 +273,7 @@ mod test {
use super::*;
use crate::gadgets::boolean::AllocatedBit;
use crate::gadgets::test::TestConstraintSystem;
use hex_literal::hex;
use pairing::bls12_381::Bls12;
use rand_core::{RngCore, SeedableRng};
use rand_xorshift::XorShiftRng;

View File

@@ -135,19 +135,6 @@
// Catch documentation errors caused by code changes.
#![deny(intra_doc_link_resolution_failure)]
#[cfg(feature = "multicore")]
extern crate crossbeam;
#[cfg(feature = "multicore")]
extern crate num_cpus;
#[cfg(test)]
#[macro_use]
extern crate hex_literal;
#[cfg(test)]
extern crate rand;
pub mod domain;
pub mod gadgets;
#[cfg(feature = "groth16")]