790aa8a002
Since Rust 1.34, `ATOMIC_*_INIT` is deprecated in favor of `Atomic*::new`. However, this requires the latter to be `const`, which is not the case for older Rust versions. Alternatively, we could detect the Rust version by introducing build scripts to the crates lacking them. However, this increases build time for a very minor benefit, so the deprecation warnings are ignored instead. Fixes #736.
rand_os
A random number generator that retrieves randomness straight from the operating system.
This crate depends on rand_core and is part of the Rand project.
This crate aims to support all of Rust's std platforms with a system-provided
entropy source. Unlike other Rand crates, this crate does not support no_std
(handling this gracefully is a current discussion topic).
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.