Skip to content

Releases: auronandace/acorn_prng

v3.0.1

20 Jul 08:33
Compare
Choose a tag to compare

Add categories and keywords to Cargo.toml

v3.0.0

12 Dec 13:18
a18fff1
Compare
Choose a tag to compare

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

10 Dec 17:26
11599f3
Compare
Choose a tag to compare

Remove unneeded internal functions.

v2.0.0

09 Dec 21:11
3cdd19f
Compare
Choose a tag to compare

Internal overhaul that eliminates the need for alloc::String. Numbers generated will be different to previous releases.

v1.0.1

08 Dec 21:00
a7cbb0f
Compare
Choose a tag to compare

Bugfix release:

  • Allow generating 39 digit length u128
  • update test and docs accordingly

v1.0.0

08 Dec 14:06
75ec43f
Compare
Choose a tag to compare

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).