From 53182aa08e305de43464729a372ea4cb7d36c3cd Mon Sep 17 00:00:00 2001 From: Eirik Ogilvie-Wigley Date: Wed, 21 Aug 2019 16:13:10 -0600 Subject: [PATCH] cargo fix --edition-idioms for zcash_proofs --- zcash_proofs/examples/bench.rs | 8 -------- zcash_proofs/src/lib.rs | 17 ----------------- 2 files changed, 25 deletions(-) diff --git a/zcash_proofs/examples/bench.rs b/zcash_proofs/examples/bench.rs index a5c8a13..62beb0a 100644 --- a/zcash_proofs/examples/bench.rs +++ b/zcash_proofs/examples/bench.rs @@ -1,11 +1,3 @@ -extern crate bellman; -extern crate ff; -extern crate pairing; -extern crate rand_core; -extern crate rand_xorshift; -extern crate zcash_primitives; -extern crate zcash_proofs; - use bellman::groth16::*; use ff::Field; use pairing::bls12_381::{Bls12, Fr}; diff --git a/zcash_proofs/src/lib.rs b/zcash_proofs/src/lib.rs index 3851481..a83964a 100644 --- a/zcash_proofs/src/lib.rs +++ b/zcash_proofs/src/lib.rs @@ -1,20 +1,3 @@ -extern crate bellman; -extern crate blake2b_simd; -extern crate byteorder; -extern crate ff; -extern crate pairing; -extern crate rand_os; -extern crate zcash_primitives; - -#[cfg(feature = "local-prover")] -extern crate directories; - -#[cfg(test)] -extern crate rand_core; - -#[cfg(test)] -extern crate rand_xorshift; - use bellman::groth16::{prepare_verifying_key, Parameters, PreparedVerifyingKey, VerifyingKey}; use pairing::bls12_381::Bls12; use std::fs::File;