rustup
diff --git a/Cargo.toml b/Cargo.toml
index 1dadea9..7909e23 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -15,3 +15,4 @@
[dev-dependencies]
quickcheck = "*"
+rand = "*"
diff --git a/src/lib.rs b/src/lib.rs
index aa6de4e..5c26ae2 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -396,8 +396,9 @@
#[cfg(test)]
mod test {
extern crate quickcheck;
+ extern crate rand;
- use std::rand::thread_rng;
+ use test::rand::thread_rng;
use test::quickcheck::{QuickCheck, StdGen, Testable};
fn qc_sized<A: Testable>(f: A, size: u64) {