#random #rand #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

#2601 in Algorithms

Download history 136/week @ 2024-07-24 195/week @ 2024-07-31 171/week @ 2024-08-07 131/week @ 2024-08-14 132/week @ 2024-08-21 142/week @ 2024-08-28 114/week @ 2024-09-04 90/week @ 2024-09-11 109/week @ 2024-09-18 188/week @ 2024-09-25 166/week @ 2024-10-02 147/week @ 2024-10-09 147/week @ 2024-10-16 173/week @ 2024-10-23 168/week @ 2024-10-30 76/week @ 2024-11-06

578 downloads per month
Used in 7 crates (6 directly)

MIT/Apache

23KB
383 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