Skip to main content

random_detached/
lib.rs

1#![deny(unsafe_code)]
2#![doc = include_str!("../README.md")]
3
4mod generator;
5pub use generator::*;
6
7#[cfg(feature = "random_bytes")]
8mod bytes;
9#[cfg(feature = "random_bytes")]
10pub use bytes::*;
11
12#[cfg(feature = "chars")]
13mod chars;
14#[cfg(feature = "chars")]
15pub use chars::*;
16
17// Re-export
18pub use getrandom;
19pub use zeroize;
20
21#[cfg(feature = "blake3_hash")]
22pub use blake3;
23#[cfg(feature = "chars")]
24pub use rand_chacha;
25#[cfg(feature = "const_cmp")]
26pub use subtle;