Registry / testing / rand-dev

rand-dev

JSON →
library0.3.0rscratesunverified

Reproducible randomness source for tests.

# Cargo.toml [dependencies] rand_dev = "0.3.0"
INSTALL
IMPORT
SIG · RAND-DEV
R
rand-dev
testingrustv0.3.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.

DevRng
use rand_dev::DevRng;

Create a reproducible random number generator.

use rand_dev::DevRng; fn main() { let mut rng = DevRng::new(); println!("{}", rng.gen::<u32>()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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