Skip to content
Open
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
9 changes: 6 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,11 @@ jobs:
run: |
cargo test --target ${{ matrix.target }} --manifest-path rand_hc/Cargo.toml --all-features
cargo test --target ${{ matrix.target }} --manifest-path rand_isaac/Cargo.toml --all-features
cargo test --target ${{ matrix.target }} --manifest-path rand_xorshift/Cargo.toml --all-features
cargo test --target ${{ matrix.target }} --manifest-path rand_xoshiro/Cargo.toml --all-features
cargo test --target ${{ matrix.target }} --manifest-path rand_jitter/Cargo.toml --no-default-features
cargo test --target ${{ matrix.target }} --manifest-path rand_jitter/Cargo.toml --all-features
cargo test --target ${{ matrix.target }} --manifest-path rand_sfc/Cargo.toml --all-features
cargo test --target ${{ matrix.target }} --manifest-path rand_xorshift/Cargo.toml --all-features
cargo test --target ${{ matrix.target }} --manifest-path rand_xoshiro/Cargo.toml --all-features

test-cross:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -112,9 +113,10 @@ jobs:
run: |
cross test --no-fail-fast --target ${{ matrix.target }} --manifest-path rand_hc/Cargo.toml --all-features
cross test --no-fail-fast --target ${{ matrix.target }} --manifest-path rand_isaac/Cargo.toml --all-features
cross test --no-fail-fast --target ${{ matrix.target }} --manifest-path rand_jitter/Cargo.toml --all-features
cross test --no-fail-fast --target ${{ matrix.target }} --manifest-path rand_sfc/Cargo.toml --all-features
cross test --no-fail-fast --target ${{ matrix.target }} --manifest-path rand_xorshift/Cargo.toml --all-features
cross test --no-fail-fast --target ${{ matrix.target }} --manifest-path rand_xoshiro/Cargo.toml --all-features
cross test --no-fail-fast --target ${{ matrix.target }} --manifest-path rand_jitter/Cargo.toml --all-features

test-miri:
runs-on: ubuntu-latest
Expand All @@ -129,6 +131,7 @@ jobs:
run: |
cargo miri test --manifest-path rand_hc/Cargo.toml --all-features
cargo miri test --manifest-path rand_isaac/Cargo.toml --all-features
cargo miri test --manifest-path rand_sfc/Cargo.toml --all-features
cargo miri test --manifest-path rand_xorshift/Cargo.toml --all-features
cargo miri test --manifest-path rand_xoshiro/Cargo.toml --all-features
MIRIFLAGS="-Zmiri-disable-isolation" cargo miri test --manifest-path rand_jitter/Cargo.toml
19 changes: 19 additions & 0 deletions rand_sfc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased

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).

Compared to the prior implementation:

### Changed

- Value-stability is not preserved since constructors use a different number of mixing rounds

### Removed

- The `new` and `new_u64` constructors are not included
2 changes: 1 addition & 1 deletion rand_sfc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rand_sfc"
version = "0.1.0"
version = "0.2.0-rc.0"
authors = ["The Rand Project Developers"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-random/rngs"
Expand Down