#rand #random #rng #random-rs

no-std random-fast-rng

Rust library for Blazing fast non cryptographic random number generator

1 unstable release

Uses old Rust 2015

0.1.1 Aug 26, 2019
0.1.0 Aug 26, 2019

#32 in #rand

Download history 197/week @ 2021-10-02 216/week @ 2021-10-09 272/week @ 2021-10-16 281/week @ 2021-10-23 175/week @ 2021-10-30 123/week @ 2021-11-06 197/week @ 2021-11-13 390/week @ 2021-11-20 197/week @ 2021-11-27 199/week @ 2021-12-04 246/week @ 2021-12-11 135/week @ 2021-12-18 128/week @ 2021-12-25 118/week @ 2022-01-01 212/week @ 2022-01-08 192/week @ 2022-01-15

660 downloads per month
Used in 6 crates (5 directly)

MIT/Apache

8KB
119 lines

random-random-fast-rng

Latest version Documentation License

A Rust library random-fast-rng That helps generate non-cryptographic blazing fast randomness.

The randomness provided here implements the random_trait::Random trait.

Usage

Add this to your Cargo.toml:

[dependencies]
random-fast-rng = "0.1"

Examples

use random_fast_rng::{FastRng, Random};

fn do_something() {
    let mut rng = FastRng::new();
    let i: u64 = rng.gen();
    let b: [u8; 12] = rng.gen();
}

Dependencies

‚Pd]