mirror of
https://github.com/arnaucube/ark-curves-cherry-picked.git
synced 2026-01-08 23:11:29 +01:00
Replace rand with ark_std::rand (#42)
* replace rand * update CHANGELOG * fmt * fix * fix
This commit is contained in:
@@ -24,8 +24,6 @@ ark-relations = { git = "https://github.com/arkworks-rs/snark", default-features
|
||||
ark-serialize = { git = "https://github.com/arkworks-rs/algebra", default-features = false }
|
||||
ark-algebra-test-templates = { git = "https://github.com/arkworks-rs/algebra", default-features = false }
|
||||
ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false }
|
||||
rand = { version = "0.7", default-features = false }
|
||||
rand_xorshift = "0.2"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
use ark_ec::{AffineCurve, ProjectiveCurve};
|
||||
use ark_ff::{bytes::FromBytes, Zero};
|
||||
use ark_std::rand::Rng;
|
||||
use ark_std::str::FromStr;
|
||||
use ark_std::test_rng;
|
||||
use core::str::FromStr;
|
||||
use rand::Rng;
|
||||
|
||||
use crate::*;
|
||||
|
||||
|
||||
@@ -9,8 +9,8 @@ use ark_std::test_rng;
|
||||
|
||||
use ark_algebra_test_templates::fields::*;
|
||||
|
||||
use core::str::FromStr;
|
||||
use rand::Rng;
|
||||
use ark_std::rand::Rng;
|
||||
use ark_std::str::FromStr;
|
||||
|
||||
#[test]
|
||||
fn test_fr() {
|
||||
|
||||
Reference in New Issue
Block a user