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

#107 in #rng

Download history 127772/week @ 2024-11-17 80547/week @ 2024-11-24 129961/week @ 2024-12-01 127614/week @ 2024-12-08 123404/week @ 2024-12-15 53622/week @ 2024-12-22 60333/week @ 2024-12-29 110754/week @ 2025-01-05 122294/week @ 2025-01-12 101344/week @ 2025-01-19 104970/week @ 2025-01-26 195302/week @ 2025-02-02 164383/week @ 2025-02-09 124714/week @ 2025-02-16 153496/week @ 2025-02-23 140083/week @ 2025-03-02

604,383 downloads per month
Used in 456 crates (15 directly)

MIT/Apache

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

~0.1–0.8MB
~14K SLoC