Skip to content

v3.0.0

Compare
Choose a tag to compare
@lopopolo lopopolo released this 18 Mar 14:26
ab2035e

Release rand_mt 3.0.0. This release is a new major version and contains breaking changes.

rand_mt is published on crates.io.

This release contains enhancements and breaking changes:

  • Tests and doctests compile with no_std. #9
  • Improve performance of RngCore::fill_bytes. #11
  • [BREAKING] Change fmt::Debug impls to not leak internal RNG state. #12
  • [BREAKING] Remove slice-based key constructors, Mt::new_from_slice. #24
  • [BREAKING] Remove slice-based reseed functions, Mt::reseed_from_slice. #24
  • [BREAKING] Mt::recover returns Result<Mt, RecoverRngError> instead of Option<Mt>. #20
  • [BREAKING] Add std feature, enabled by default, that impls std::error::Error on RecoverRngError. #20
  • Add iterator-based key constructors, Mt::new_with_key. #24
  • Add iterator-based reseed functions, Mt::reseed_with_key. #24
  • [BREAKING] Rename RNG structs to be compliant with Rust API guidelines for naming:
    • MT19937 -> Mt19937GenRand32. #19
    • MT19937_64 -> Mt19937GenRand64. #19

This release contains improvements to documentation, testing, and release packaging.