diff --git a/Cargo.lock b/Cargo.lock index fa90321c..17426b0c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -872,7 +872,6 @@ dependencies = [ "miracl_core", "num", "pprof", - "rand 0.7.3", "rand 0.8.5", "serde", "serde_bytes", diff --git a/ferveo/Cargo.toml b/ferveo/Cargo.toml index a23475f2..840d9c41 100644 --- a/ferveo/Cargo.toml +++ b/ferveo/Cargo.toml @@ -18,7 +18,6 @@ ark-ff = "0.3" ark-serialize = "0.3" ark-poly = "0.3" rand = "0.8" -rand_old = { package = "rand", version = "0.7" } either = "1.6.1" hex = "0.4.2" miracl_core = "2.3.0" diff --git a/ferveo/benches/benchmarks/pairing.rs b/ferveo/benches/benchmarks/pairing.rs index c33e3577..24807cf8 100644 --- a/ferveo/benches/benchmarks/pairing.rs +++ b/ferveo/benches/benchmarks/pairing.rs @@ -21,9 +21,7 @@ pub fn lagrange(c: &mut Criterion) { b.iter(|| { black_box( subproductdomain::SubproductDomain::::new(u.clone()) - .inverse_lagrange_coefficients(), //.iter() - //.map(|x| x.inverse()) - //.collect::>(), + .inverse_lagrange_coefficients(), ) }) }); @@ -41,9 +39,7 @@ pub fn lagrange(c: &mut Criterion) { subproductdomain::SubproductDomain::::new( u.clone(), ) - .inverse_lagrange_coefficients(), //.iter() - //.map(|x| x.inverse()) - //.collect::>(), + .inverse_lagrange_coefficients(), ) }) }); diff --git a/tpke-wasm/src/serialization.rs b/tpke-wasm/src/serialization.rs index 6117bd0c..4d31db92 100644 --- a/tpke-wasm/src/serialization.rs +++ b/tpke-wasm/src/serialization.rs @@ -9,6 +9,7 @@ use serde_with::Bytes; // Serialization with serde // +#[allow(dead_code)] pub mod ser { //! You can use this module for serialization and deserializing arkworks types with [serde]. //! Simply use the following attribute on your field: