#rng #rand #smol

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

#359 in WebAssembly

34 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

~33–420KB