[go: up one dir, main page]

getrandom 0.2.7

A small cross-platform library for retrieving random data from system source
Documentation
1
2
3
4
5
6
7
8
9
10
11
// Don't test on custom wasm32-unknown-unknown
#![cfg(not(all(
    target_arch = "wasm32",
    target_os = "unknown",
    feature = "custom",
    not(feature = "js")
)))]

// Use the normal getrandom implementation on this architecture.
use getrandom::getrandom as getrandom_impl;
mod common;