1 2 3 4 5 6 7 8
use turborand::rng::Rng; pub use turborand::{GenCore, TurboRand}; std::thread_local! { /// A fast, non-cryptographic, thread-local random number generator powered by turborand. pub static THREAD_RNG: Rng = Rng::new(); }