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

#98 in #rng

Download history 94305/week @ 2024-07-20 94369/week @ 2024-07-27 104813/week @ 2024-08-03 116462/week @ 2024-08-10 110792/week @ 2024-08-17 130561/week @ 2024-08-24 107357/week @ 2024-08-31 116347/week @ 2024-09-07 99173/week @ 2024-09-14 116671/week @ 2024-09-21 120941/week @ 2024-09-28 106515/week @ 2024-10-05 119008/week @ 2024-10-12 117742/week @ 2024-10-19 101746/week @ 2024-10-26 82542/week @ 2024-11-02

439,040 downloads per month
Used in 455 crates (14 directly)

MIT/Apache

67KB
780 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