Change rand crate to crates.io version
This commit is contained in:
parent
d0418d4ba7
commit
f910355043
|
@ -12,3 +12,6 @@ path = "src/secp256k1.rs"
|
|||
[dependencies.rust-crypto]
|
||||
git = "https://github.com/DaGenix/rust-crypto.git"
|
||||
|
||||
[dependencies]
|
||||
rand = "*"
|
||||
|
||||
|
|
|
@ -44,10 +44,9 @@ extern crate test;
|
|||
|
||||
use std::intrinsics::copy_nonoverlapping;
|
||||
use std::io;
|
||||
use std::rand::OsRng;
|
||||
use std::sync::{Once, ONCE_INIT};
|
||||
use libc::c_int;
|
||||
use rand::{Rng, SeedableRng};
|
||||
use rand::{OsRng, Rng, SeedableRng};
|
||||
|
||||
use crypto::fortuna::Fortuna;
|
||||
|
||||
|
@ -274,8 +273,7 @@ impl Secp256k1 {
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
use std::iter::repeat;
|
||||
use std::rand::thread_rng;
|
||||
use rand::Rng;
|
||||
use rand::{Rng, thread_rng};
|
||||
|
||||
use test::{Bencher, black_box};
|
||||
|
||||
|
|
Loading…
Reference in New Issue