Provides OsRng over rand_core and getrandom. You don't need this if you use rand, but it's also pretty harmless to depend on both crates since OsRng is just a shim over getrandom.
With std, the error type implements std::error::Error.
The WASI and Emscripten targets are directly supported.
The wasm32-unknown-unknown target is not automatically supported. To enable support for this target, enable the wasm_js feature. Warning: this feature can break wasm32-unknown-unknown builds on non-web platforms! Do not enable this feature in libraries unless you are sure you do not want to support non-web Wasm32 platforms.
For more information, refer to
getrandom documentation for WebAssembly.
Rand 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.