Skip to content

Commit 98e220c

Browse files
authored
Merge pull request #1072 from dhardy/work
Prepare rand_core 0.6.0
2 parents 6682db1 + 95fea0e commit 98e220c

File tree

13 files changed

+36
-26
lines changed

13 files changed

+36
-26
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- os: ubuntu-latest
5656
target: x86_64-unknown-linux-gnu
5757
toolchain: nightly
58-
variant: minimal
58+
variant: minimal_versions
5959

6060
steps:
6161
- uses: actions/checkout@v2
@@ -67,8 +67,8 @@ jobs:
6767
toolchain: ${{ matrix.toolchain }}
6868
override: true
6969
- run: ${{ matrix.deps }}
70-
- name: Maybe minimal
71-
if: ${{ matrix.variant == 'minimal' }}
70+
- name: Maybe minimal versions
71+
if: ${{ matrix.variant == 'minimal_versions' }}
7272
run: cargo generate-lockfile -Z minimal-versions
7373
- name: Maybe nightly
7474
if: ${{ matrix.toolchain == 'nightly' }}

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ members = [
5151
]
5252

5353
[dependencies]
54-
rand_core = { path = "rand_core", version = "0.5.1" }
54+
rand_core = { path = "rand_core", version = "0.6.0" }
5555
log = { version = "0.4.4", optional = true }
5656
serde = { version = "1.0.103", features = ["derive"], optional = true }
5757

@@ -69,14 +69,14 @@ libc = { version = "0.2.22", optional = true, default-features = false }
6969
# Emscripten does not support 128-bit integers, which are used by ChaCha code.
7070
# We work around this by using a different RNG.
7171
[target.'cfg(not(target_os = "emscripten"))'.dependencies]
72-
rand_chacha = { path = "rand_chacha", version = "0.2.3", default-features = false, optional = true }
72+
rand_chacha = { path = "rand_chacha", version = "0.3.0", default-features = false, optional = true }
7373
[target.'cfg(target_os = "emscripten")'.dependencies]
74-
rand_hc = { path = "rand_hc", version = "0.2.1", optional = true }
74+
rand_hc = { path = "rand_hc", version = "0.3.0", optional = true }
7575

7676
[dev-dependencies]
77-
rand_pcg = { path = "rand_pcg", version = "0.2" }
77+
rand_pcg = { path = "rand_pcg", version = "0.3.0" }
7878
# Only for benches:
79-
rand_hc = { path = "rand_hc", version = "0.2" }
79+
rand_hc = { path = "rand_hc", version = "0.3.0" }
8080
# Only to test serde1
8181
bincode = "1.2.1"
8282

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Test Status](https://github.com/rust-random/rand/workflows/Tests/badge.svg?event=push)](https://github.com/rust-random/rand/actions)
44
[![Crate](https://img.shields.io/crates/v/rand.svg)](https://crates.io/crates/rand)
55
[![Book](https://img.shields.io/badge/book-master-yellow.svg)](https://rust-random.github.io/book/)
6-
[![API](https://img.shields.io/badge/api-master-yellow.svg)](https://rust-random.github.io/rand)
6+
[![API](https://img.shields.io/badge/api-master-yellow.svg)](https://rust-random.github.io/rand/rand)
77
[![API](https://docs.rs/rand/badge.svg)](https://docs.rs/rand)
88
[![Minimum rustc version](https://img.shields.io/badge/rustc-1.36+-lightgray.svg)](https://github.com/rust-random/rand#rust-version-requirements)
99

rand_chacha/CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [Unreleased]
8-
- impl PartialEq+Eq for ChaChaXRng and ChaChaXCore (#975)
7+
## [0.3.0] - 2020-12-08
8+
- Bump `rand_core` version to 0.6.0
9+
- Bump MSRV to 1.36 (#1011)
10+
- Remove usage of deprecated feature "simd" of `ppv-lite86` (#979), then revert
11+
this change (#1023) since SIMD is only enabled by default from `ppv-lite86 v0.2.10`
12+
- impl PartialEq+Eq for ChaChaXRng and ChaChaXCore (#979)
913
- Fix panic on block counter wrap that was occurring in debug builds (#980)
1014

1115
## [0.2.2] - 2020-03-09

rand_chacha/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rand_chacha"
3-
version = "0.2.3"
3+
version = "0.3.0"
44
authors = ["The Rand Project Developers", "The Rust Project Developers", "The CryptoCorrosion Contributors"]
55
license = "MIT OR Apache-2.0"
66
readme = "README.md"
@@ -15,7 +15,7 @@ categories = ["algorithms", "no-std"]
1515
edition = "2018"
1616

1717
[dependencies]
18-
rand_core = { path = "../rand_core", version = "0.5" }
18+
rand_core = { path = "../rand_core", version = "0.6.0" }
1919
ppv-lite86 = { version = "0.2.8", default-features = false, features = ["simd"] }
2020

2121
[features]

rand_core/CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [Unreleased]
8-
7+
## [0.6.0] - 2020-12-08
8+
### Breaking changes
99
- Bump MSRV to 1.36, various code improvements (#1011)
1010
- Update to getrandom v0.2 (#1041)
1111
- Fix: `next_u32_via_fill` and `next_u64_via_fill` now use LE as documented (#1061)
12+
13+
### Other
1214
- Reduce usage of `unsafe` (#962, #963, #1011)
1315
- Annotate feature-gates in documentation (#1019)
1416
- Document available error codes (#1061)

rand_core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rand_core"
3-
version = "0.5.1"
3+
version = "0.6.0"
44
authors = ["The Rand Project Developers", "The Rust Project Developers"]
55
license = "MIT OR Apache-2.0"
66
readme = "README.md"

rand_core/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The traits and error types are also available via `rand`.
4343

4444
The current version is:
4545
```
46-
rand_core = "0.5.0"
46+
rand_core = "0.6.0"
4747
```
4848

4949
Rand libs have inter-dependencies and make use of the

rand_distr/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ std = ["alloc", "rand/std"]
2525
alloc = ["rand/alloc"]
2626

2727
[dev-dependencies]
28-
rand_pcg = { version = "0.2", path = "../rand_pcg" }
28+
rand_pcg = { version = "0.3.0", path = "../rand_pcg" }
2929
# For inline examples
3030
rand = { path = "..", version = "0.7", default-features = false, features = ["std_rng", "std"] }
3131
# Histogram implementation for testing uniformity

rand_hc/CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [Unreleased]
8-
- impl PartialEq+Eq for Hc128Rng and Hc128Core (#975)
7+
## [0.3.0] - 2020-12-08
8+
- Bump `rand_core` version to 0.6.0
9+
- Bump MSRV to 1.36 (#1011)
10+
- impl PartialEq+Eq for Hc128Rng and Hc128Core (#979)
911
- Drop some unsafe code, fixing an unsound internal function (#960)
1012

1113
## [0.2.0] - 2019-06-12

0 commit comments

Comments
 (0)