[go: up one dir, main page]

getrandom 0.2.1

A small cross-platform library for retrieving random data from system source
Documentation
1
2
3
4
5
6
7
8
// We only test the RDRAND-based RNG source on supported architectures.
#![cfg(any(target_arch = "x86_64", target_arch = "x86"))]

#[path = "rdrand.rs"]
mod rdrand;
use rdrand::getrandom_inner as getrandom;
#[path = "test_common.rs"]
mod test_common;