Skip to content

Commit a7057d3

Browse files
authored
Merge pull request #77 from rust-random/push-wztnyzwnkmsx
Prepare rand_sfc 0.2.0-rc.0; CHANGELOG and tests
2 parents fe79d17 + ad3abc5 commit a7057d3

File tree

3 files changed

+26
-4
lines changed

3 files changed

+26
-4
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,11 @@ jobs:
8181
run: |
8282
cargo test --target ${{ matrix.target }} --manifest-path rand_hc/Cargo.toml --all-features
8383
cargo test --target ${{ matrix.target }} --manifest-path rand_isaac/Cargo.toml --all-features
84-
cargo test --target ${{ matrix.target }} --manifest-path rand_xorshift/Cargo.toml --all-features
85-
cargo test --target ${{ matrix.target }} --manifest-path rand_xoshiro/Cargo.toml --all-features
8684
cargo test --target ${{ matrix.target }} --manifest-path rand_jitter/Cargo.toml --no-default-features
8785
cargo test --target ${{ matrix.target }} --manifest-path rand_jitter/Cargo.toml --all-features
86+
cargo test --target ${{ matrix.target }} --manifest-path rand_sfc/Cargo.toml --all-features
87+
cargo test --target ${{ matrix.target }} --manifest-path rand_xorshift/Cargo.toml --all-features
88+
cargo test --target ${{ matrix.target }} --manifest-path rand_xoshiro/Cargo.toml --all-features
8889
8990
test-cross:
9091
runs-on: ubuntu-latest
@@ -112,9 +113,10 @@ jobs:
112113
run: |
113114
cross test --no-fail-fast --target ${{ matrix.target }} --manifest-path rand_hc/Cargo.toml --all-features
114115
cross test --no-fail-fast --target ${{ matrix.target }} --manifest-path rand_isaac/Cargo.toml --all-features
116+
cross test --no-fail-fast --target ${{ matrix.target }} --manifest-path rand_jitter/Cargo.toml --all-features
117+
cross test --no-fail-fast --target ${{ matrix.target }} --manifest-path rand_sfc/Cargo.toml --all-features
115118
cross test --no-fail-fast --target ${{ matrix.target }} --manifest-path rand_xorshift/Cargo.toml --all-features
116119
cross test --no-fail-fast --target ${{ matrix.target }} --manifest-path rand_xoshiro/Cargo.toml --all-features
117-
cross test --no-fail-fast --target ${{ matrix.target }} --manifest-path rand_jitter/Cargo.toml --all-features
118120
119121
test-miri:
120122
runs-on: ubuntu-latest
@@ -129,6 +131,7 @@ jobs:
129131
run: |
130132
cargo miri test --manifest-path rand_hc/Cargo.toml --all-features
131133
cargo miri test --manifest-path rand_isaac/Cargo.toml --all-features
134+
cargo miri test --manifest-path rand_sfc/Cargo.toml --all-features
132135
cargo miri test --manifest-path rand_xorshift/Cargo.toml --all-features
133136
cargo miri test --manifest-path rand_xoshiro/Cargo.toml --all-features
134137
MIRIFLAGS="-Zmiri-disable-isolation" cargo miri test --manifest-path rand_jitter/Cargo.toml

rand_sfc/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## Unreleased
8+
9+
This is a new implementation by [@tertu-m](https://github.com/tertu-m) and [@dhardy](https://github.com/dhardy/). The prior implementation has been renamed to [sfc-prng](https://crates.io/crates/sfc-prng).
10+
11+
Compared to the prior implementation:
12+
13+
### Changed
14+
15+
- Value-stability is not preserved since constructors use a different number of mixing rounds
16+
17+
### Removed
18+
19+
- The `new` and `new_u64` constructors are not included

rand_sfc/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_sfc"
3-
version = "0.1.0"
3+
version = "0.2.0-rc.0"
44
authors = ["The Rand Project Developers"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/rust-random/rngs"

0 commit comments

Comments
 (0)