Skip to content

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

Merged
lopopolo merged 1 commit into
trunkfrom
arrat-traits-1.47-msrv
Dec 19, 2020
Merged

Derive Hash, PartialEq, Eq, PartialOrd, Ord on mersenne twister RNGs#49
lopopolo merged 1 commit into
trunkfrom
arrat-traits-1.47-msrv

Conversation

@lopopolo
Copy link
Copy Markdown
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