#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

#2552 in Algorithms

Download history 149/week @ 2024-02-29 182/week @ 2024-03-07 123/week @ 2024-03-14 108/week @ 2024-03-21 126/week @ 2024-03-28 140/week @ 2024-04-04 134/week @ 2024-04-11 120/week @ 2024-04-18 139/week @ 2024-04-25 109/week @ 2024-05-02 110/week @ 2024-05-09 84/week @ 2024-05-16 89/week @ 2024-05-23 103/week @ 2024-05-30 107/week @ 2024-06-06 83/week @ 2024-06-13

397 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