Change rand crate to crates.io version

This commit is contained in:
Andrew Poelstra 2015-03-25 18:57:16 -05:00
parent d0418d4ba7
commit f910355043
2 changed files with 5 additions and 4 deletions

View File

@ -12,3 +12,6 @@ path = "src/secp256k1.rs"
[dependencies.rust-crypto]
git = "https://github.com/DaGenix/rust-crypto.git"
[dependencies]
rand = "*"

View File

@ -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};