Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorganisation of Rand items #435

Merged
merged 8 commits into from
May 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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