Skip to content

Commit

Permalink
Merge pull request #435 from dhardy/reorg
Browse files Browse the repository at this point in the history
Reorganisation of Rand items
  • Loading branch information
dhardy authored May 11, 2018
2 parents 9728648 + f1f544a commit f0f1efe
Show file tree
Hide file tree
Showing 27 changed files with 877 additions and 737 deletions.
7 changes: 3 additions & 4 deletions benches/generators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ const BYTES_LEN: usize = 1024;
use std::mem::size_of;
use test::{black_box, Bencher};

use rand::{RngCore, Rng, SeedableRng, FromEntropy};
use rand::{StdRng, SmallRng, OsRng, EntropyRng, ReseedingRng};
use rand::prelude::*;
use rand::prng::{XorShiftRng, Hc128Rng, IsaacRng, Isaac64Rng, ChaChaRng};
use rand::prng::hc128::Hc128Core;
use rand::jitter::JitterRng;
use rand::thread_rng;
use rand::rngs::adaptor::ReseedingRng;
use rand::rngs::{OsRng, JitterRng, EntropyRng};

macro_rules! gen_bytes {
($fnn:ident, $gen:expr) => {
Expand Down
2 changes: 1 addition & 1 deletion benches/misc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const RAND_BENCH_N: u64 = 1000;

use test::{black_box, Bencher};

use rand::{SeedableRng, SmallRng, Rng, thread_rng};
use rand::prelude::*;
use rand::seq::*;

#[bench]
Expand Down
Loading

0 comments on commit f0f1efe

Please sign in to comment.