Skip to content

nanorand 0.6.0

Compare
Choose a tag to compare
@Absolucy Absolucy released this 08 Jul 00:18
· 44 commits to main since this release
8e282f2

This is the big one, folks! Breaking changes, obviously.

Changelog

  • Renamed RNG to Rng
  • RandomGen will no longer panic if lower > upper (#24)
  • Added RandomGen support for signed integers (#9) and floats (#20)
    • RandomGen for float will generate an float in the range of 0 <= x <= 1
  • Added RandomRange support for signed integers (#9)
  • Fixed RandomRange having weird in/exclusivity (#21)
  • ChaCha now has a const generic of how many rounds it is. This speeds it up slightly.
  • TlsWyRand is now reference-counted.
  • Added some unit tests to ensure that RandomRange works properly.