Registry / utility / nanorand

nanorand

JSON →
library0.8.0rscratesunverified

A tiny, fast, zero-dep library for random number generation.

# Cargo.toml [dependencies] nanorand = "0.8.0"
INSTALL
IMPORT
SIG · NANORAND
N
nanorand
utilityrustv0.8.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Rng
use nanorand::Rng;

Generate a random u32 using the WyRand RNG.

use nanorand::Rng; fn main() { let mut rng = nanorand::WyRand::new(); let n: u32 = rng.generate(); println!("{}", n); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.8.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
nanorand — cargo add nanorand · libregistry