File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ edition = "2021"
1616
1717[dependencies ]
1818ff = { version = " 0.13" , default-features = false }
19- rand = { version = " 0.8 " , optional = true , default-features = false }
20- rand_core = { version = " 0.6 " , default-features = false }
21- rand_xorshift = { version = " 0.3 " , optional = true }
19+ rand = { version = " 0.9 " , optional = true , default-features = false }
20+ rand_core = { version = " 0.9 " , default-features = false }
21+ rand_xorshift = { version = " 0.4 " , optional = true }
2222subtle = { version = " 2.2.1" , default-features = false }
2323
2424# Crate for exposing the dynamic memory usage of the w-NAF structs.
Original file line number Diff line number Diff line change 1- 1.56 .0
1+ 1.66 .0
Original file line number Diff line number Diff line change @@ -378,8 +378,8 @@ fn random_transformation_tests<G: PrimeCurve>() {
378378 for _ in 0 ..10 {
379379 let mut v = ( 0 ..1000 ) . map ( |_| G :: random ( & mut rng) ) . collect :: < Vec < _ > > ( ) ;
380380
381- use rand:: distributions :: { Distribution , Uniform } ;
382- let between = Uniform :: new ( 0 , 1000 ) ;
381+ use rand:: distr :: { Distribution , Uniform } ;
382+ let between = Uniform :: new ( 0 , 1000 ) . unwrap ( ) ;
383383 // Sprinkle in some normalized points
384384 for _ in 0 ..5 {
385385 v[ between. sample ( & mut rng) ] = G :: identity ( ) ;
You can’t perform that action at this time.
0 commit comments