#random #rng #os

rand_os

OS backed Random Number Generator

4 releases

0.1.3 Mar 5, 2019
0.1.2 Jan 29, 2019
0.1.1 Jan 8, 2019
0.1.0 Jan 4, 2019

#22 in Algorithms

Download history 38778/week @ 2019-01-03 49015/week @ 2019-01-10 52548/week @ 2019-01-17 57383/week @ 2019-01-24 61490/week @ 2019-01-31 63605/week @ 2019-02-07 65671/week @ 2019-02-14 68935/week @ 2019-02-21 77488/week @ 2019-02-28 83103/week @ 2019-03-07 78902/week @ 2019-03-14 72184/week @ 2019-03-21 73140/week @ 2019-03-28

280,685 downloads per month
Used in 1,180 crates (16 directly)

MIT/Apache

97KB
1.5K SLoC

rand_os

Build Status Build Status Latest version Book API API Minimum rustc version

A random number generator that retrieves randomness straight from the operating system.

This crate depends on rand_core and is part of the Rand project.

This crate aims to support all of Rust's std platforms with a system-provided entropy source. Unlike other Rand crates, this crate does not support no_std (handling this gracefully is a current discussion topic).

Links:

License

rand_os is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT, and COPYRIGHT for details.

Dependencies

~610KB