7 releases

0.2.2 Aug 28, 2019
0.2.1 Aug 8, 2019
0.2.0 Jun 6, 2019
0.1.3 Mar 5, 2019
0.1.2 Jan 29, 2019

#100 in #rng

Download history 118964/week @ 2024-08-09 106340/week @ 2024-08-16 129128/week @ 2024-08-23 106252/week @ 2024-08-30 121596/week @ 2024-09-06 96386/week @ 2024-09-13 120053/week @ 2024-09-20 119661/week @ 2024-09-27 107003/week @ 2024-10-04 112291/week @ 2024-10-11 123560/week @ 2024-10-18 102828/week @ 2024-10-25 99133/week @ 2024-11-01 115408/week @ 2024-11-08 137434/week @ 2024-11-15 84594/week @ 2024-11-22

456,224 downloads per month
Used in 459 crates (15 directly)

MIT/Apache

66KB
744 lines

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 is deprecated: OsRng is available in rand_core since version 0.5.1.

This crate provides OsRng as a shim around getrandom implementing RngCore from rand_core.

Note: the rand crate provides an equivalent OsRng; the two implementations are equivalent, though distinct types.

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

~78–790KB
~14K SLoC