#rng #rand

no-std smolcrush

A smol RNG library for Rust

7 releases

0.2.2 Dec 17, 2023
0.2.1 Dec 17, 2023
0.1.0 Nov 21, 2023
0.0.3 Jul 19, 2023

#268 in WebAssembly

Download history 17/week @ 2023-12-15 6/week @ 2024-02-23 4/week @ 2024-03-01 18/week @ 2024-03-08 113/week @ 2024-03-15 9/week @ 2024-03-29

140 downloads per month
Used in fastutil

MIT license

20KB
375 lines

smolcrush

A smol RNG library for Rust.

Features

  • One dependency by default (rand_core)
  • no_std and WASM support
  • No alloc usage
  • 100% safe

Optional Features

  • system-rng adds support for using system RNG using the getrandom crate
  • zeroize adds zeroing support to all RNGs using the zeroize crate

Minimum Supported Rust Version (MSRV)

The current MSRV is 1.60.0.


lib.rs:

A smol RNG library for Rust.

Features

  • One dependency by default (rand_core)
  • no_std and WASM support
  • No alloc usage
  • 100% safe

Optional Features

  • system-rng adds support for using system RNG using the getrandom crate
  • zeroize adds zeroing support to all RNGs using the zeroize crate

Minimum Supported Rust Version (MSRV)

The current MSRV is 1.60.0.

Dependencies

~40–430KB