NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #1027 most downloaded on crates.io
A tiny, fast, zero-dep library for random number generation.
Last release 1 years ago
08 Jun 2025
Ships unpredictably
gaps range from 2 weeks to 3.3 years
Some releases are documented
notes for 5 of 17 stable releases
1 version withdrawn
withdrawn after publishing
6 years old
18 releases · first in 2020
One column per quarter.
Fix lower bound for signed generate_range function by @smvilar in #38
generate_range function by @smvilar in #38Full Changelog: 0.7.0...0.8.0
The Rng trait now uses const generics for output length, rather than an associated type
Rng trait now uses const generics for output length, rather than an associated typeRng::fill_bytes, and reworked RandomGen implementations to use it.Rng::reseed was move into the new SeedableRng trait.Debug implementationBufferedRng, a wrapper around an Rng that buffers output, and will use buffered output rather than wasting perfectly good random bytes.RandomRange will panic with an invalid range.Fixed an unsoundness in TlsWyrand allowing for aliased mutable references.
TlsWyrand allowing for aliased mutable references.This is the big one, folks! Breaking changes, obviously.
This is the big one, folks! Breaking changes, obviously.
RNG to RngRandomGen will no longer panic if lower > upper (#24)RandomGen support for signed integers (#9) and floats (#20)
RandomGen for float will generate an float in the range of 0 <= x <= 1RandomRange support for signed integers (#9)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.RandomRange works properly.Nothing published for this version
(cargo-release) nanorand-py version 0.5.1
(cargo-release) nanorand-py version 0.5.1
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →