random-fast-rng

Crates.iorandom-fast-rng
lib.rsrandom-fast-rng
version0.1.1
sourcesrc
created_at2019-08-26 20:33:07.143006
updated_at2019-08-26 21:34:58.703872
descriptionRust library for Blazing fast non cryptographic random number generator
homepage
repositoryhttps://github.com/elichai/random-rs
max_upload_size
id159860
size7,901
Elichai Turkel (elichai)

documentation

README

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();
}
Commit count: 28

cargo fmt