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

#103 in #rng

Download history 114656/week @ 2023-12-13 78491/week @ 2023-12-20 56437/week @ 2023-12-27 98315/week @ 2024-01-03 93828/week @ 2024-01-10 101904/week @ 2024-01-17 106537/week @ 2024-01-24 106415/week @ 2024-01-31 111581/week @ 2024-02-07 114193/week @ 2024-02-14 123906/week @ 2024-02-21 123884/week @ 2024-02-28 119952/week @ 2024-03-06 115579/week @ 2024-03-13 114248/week @ 2024-03-20 98611/week @ 2024-03-27

468,528 downloads per month
Used in 436 crates (12 directly)

MIT/Apache

69KB
817 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

~77–750KB
~14K SLoC