Releases: auronandace/acorn_prng
Releases · auronandace/acorn_prng
v3.0.1
v3.0.0
Eliminate the need for alloc.
Previously when a user defined an Order it set the size of a private field vector to that value. Therefore, the larger the Order the more size in memory the Acorn struct would require.
Now regardless of the size of the Order value the Acorn struct is always the same size in memory. The private field vector was replaced with a tuple that is used to calculate the random numbers based on the provided Seed and Order.
Without the need for alloc it means this library can now be used in more places than before.
v2.0.1
Remove unneeded internal functions.
v2.0.0
Internal overhaul that eliminates the need for alloc::String. Numbers generated will be different to previous releases.
v1.0.1
Bugfix release:
- Allow generating 39 digit length u128
- update test and docs accordingly
v1.0.0
Initial release of the ACORN prng library.
- Create a new generator with a specified order and seed.
- Generate a random fixed length number.
- Generate a random number from a specified range (inclusive).