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

Derive Hash, PartialEq, Eq, PartialOrd, Ord on mersenne twister RNGs #49

Merged
merged 1 commit into from
Dec 19, 2020

Conversation

lopopolo
Copy link
Member

  • Add a statement documenting rand_mt's minimum supported Rust version
    to the README.
  • Bump the MSRV to 1.47.0, which lifted the LengthAtMost32 restriction
    on generic array length impls.
  • Add a (unenforced) CI job for testing rand_mt with Rust 1.47.0.
  • Derive Hash, PartialEq, Eq, PartialOrd, Ord on
    Mt19937GenRand32.
  • Derive Hash, PartialEq, Eq, PartialOrd, Ord on
    Mt19937GenRand34.
  • Remove the write! macro from the core::fmt::Debug impls on
    Mt19937GenRand32 and Mt19937GenRand64, preferring to use
    fmt::Formatter::write_str instead.

- Add a statement documenting `rand_mt`'s minimum supported Rust version
  to the README.
- Bump the MSRV to 1.47.0, which lifted the `LengthAtMost32` restriction
  on generic array length impls.
- Add a (unenforced) CI job for testing `rand_mt` with Rust 1.47.0.
- Derive `Hash`, `PartialEq`, `Eq`, `PartialOrd`, `Ord` on
  `Mt19937GenRand32`.
- Derive `Hash`, `PartialEq`, `Eq`, `PartialOrd`, `Ord` on
  `Mt19937GenRand34`.
- Remove the `write!` macro from the `core::fmt::Debug` impls on
  `Mt19937GenRand32` and `Mt19937GenRand64`, preferring to use
  `fmt::Formatter::write_str` instead.
@lopopolo lopopolo added A-core Area: Core Mersenne Twister implementation. C-enhancement Category: New feature or request. A-build Area: CI build infrastructure. A-crate-features Area: Compile-time features or attributes. labels Dec 19, 2020
@lopopolo lopopolo merged commit eb36dd4 into trunk Dec 19, 2020
@lopopolo lopopolo deleted the arrat-traits-1.47-msrv branch December 19, 2020 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-build Area: CI build infrastructure. A-core Area: Core Mersenne Twister implementation. A-crate-features Area: Compile-time features or attributes. C-enhancement Category: New feature or request.
Development

Successfully merging this pull request may close these issues.

1 participant