#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

#2851 in Algorithms

Download history 85/week @ 2024-11-13 83/week @ 2024-11-20 78/week @ 2024-11-27 95/week @ 2024-12-04 119/week @ 2024-12-11 93/week @ 2024-12-18 61/week @ 2024-12-25 66/week @ 2025-01-01 92/week @ 2025-01-08 115/week @ 2025-01-15 98/week @ 2025-01-22 134/week @ 2025-01-29 153/week @ 2025-02-05 101/week @ 2025-02-12 103/week @ 2025-02-19 99/week @ 2025-02-26

482 downloads per month
Used in 8 crates (7 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