Skip to content

Commit 42affec

Browse files
committed
FIX: Update benchmarks for rand 0.7
1 parent 155f6b2 commit 42affec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ rayon = { version = "1.0", optional = true }
3737

3838
[dev-dependencies]
3939
itertools = "0.8"
40-
rand = "0.7"
40+
rand = {version = "0.7", features = ["small_rng"] }
4141
quickcheck = { version = "0.9", default-features = false }
4242
fnv = "1.0"
4343
lazy_static = "1.3"

benches/bench.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use std::iter::FromIterator;
2222

2323
use rand::rngs::SmallRng;
2424
use rand::seq::SliceRandom;
25-
use rand::FromEntropy;
25+
use rand::SeedableRng;
2626

2727
#[bench]
2828
fn new_hashmap(b: &mut Bencher) {

0 commit comments

Comments
 (0)