Files
rand/rand_os
Vinzent Steinberg 790aa8a002 Fix deprecation warnings for atomics initialization
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.
2019-02-25 13:01:21 +01:00
..
2018-11-14 21:38:24 +03:00
2019-01-28 09:29:42 -08:00
2019-01-28 09:29:42 -08:00
2018-11-14 21:38:24 +03:00
2018-11-14 21:38:24 +03:00

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 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.