| Crates.io | rand_os |
| lib.rs | rand_os |
| version | 0.2.2 |
| created_at | 2019-01-04 11:31:17.691682+00 |
| updated_at | 2019-08-28 14:24:22.432373+00 |
| description | OS backed Random Number Generator |
| homepage | https://crates.io/crates/rand_os |
| repository | https://github.com/rust-random/rand |
| max_upload_size | |
| id | 105421 |
| size | 20,480 |
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:
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.