Skip to content

Commit

Permalink
Use ark_std::rand instead of rand (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
weikengchen authored Feb 4, 2021
1 parent 922ead1 commit cf70d14
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/fields/nonnative/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ debug-assertions = false
################################# Dependencies ################################

[dependencies]
rand = { version = "0.7", default-features = false }
derivative = { version = "2", features = [ "use_core" ] }

tracing = { version = "0.1", default-features = false, features = [ "attributes" ] }
Expand Down
2 changes: 1 addition & 1 deletion src/fields/nonnative/benches/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use ark_relations::{
ns,
r1cs::{ConstraintSystem, ConstraintSystemRef, OptimizationGoal},
};
use rand::RngCore;
use ark_std::rand::RngCore;

const NUM_REPETITIONS: usize = 1;

Expand Down
2 changes: 1 addition & 1 deletion src/fields/nonnative/tests/arithmetic_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use ark_mnt6_753::MNT6_753;
use ark_nonnative_field::NonNativeFieldVar;
use ark_r1cs_std::{alloc::AllocVar, eq::EqGadget, fields::FieldVar, R1CSVar};
use ark_relations::r1cs::{ConstraintSystem, ConstraintSystemRef};
use rand::RngCore;
use ark_std::rand::RngCore;

#[cfg(not(ci))]
const NUM_REPETITIONS: usize = 100;
Expand Down

0 comments on commit cf70d14

Please sign in to comment.