A Rust library random-fast-rng That helps generate non-cryptographic blazing fast randomness.
The randomness provided here implements the random_trait::Random
trait.
* Documentation
Add this to your Cargo.toml
:
toml
[dependencies]
random-fast-rng = "0.1"
```rust use randomfastrng::{FastRng, Random};
fn do_something() { let mut rng = FastRng::new(); let i: u64 = rng.gen(); let b: [u8; 12] = rng.gen(); } ```