Skip to content
Closed
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: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ A [separate changelog is kept for rand_core](rand_core/CHANGELOG.md).
You may also find the [Update Guide](UPDATING.md) useful.


## [0.5.2] - 2018-06-10
### Changed
- Use newtypes to get deprecation warnings for compatibility re-exports. (#502)
- Add back dummy implementation for `OsRng` on unsupported platforms. (#505)


## [0.5.1] - 2018-06-08

### New distributions
Expand All @@ -26,6 +32,7 @@ You may also find the [Update Guide](UPDATING.md) useful.
- Linux, NetBSD, Solaris: read in blocking mode on first use in `fill_bytes`. (#484)
- Fuchsia, CloudABI: fix compilation (broken in Rand 0.5). (#484)


## [0.5.0] - 2018-05-21

### Crate features and organisation
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rand"
version = "0.5.1" # NB: When modifying, also modify html_root_url in lib.rs
version = "0.5.2" # NB: When modifying, also modify html_root_url in lib.rs
authors = ["The Rust Project Developers"]
license = "MIT/Apache-2.0"
readme = "README.md"
Expand Down
3 changes: 2 additions & 1 deletion benches/distributions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const RAND_BENCH_N: u64 = 1000;
use std::mem::size_of;
use test::Bencher;

use rand::{Rng, FromEntropy, XorShiftRng};
use rand::{Rng, FromEntropy};
use rand::prng::XorShiftRng;
use rand::distributions::*;

macro_rules! distr_int {
Expand Down
Loading