At least, make the stuff that doesn't need to be deterministic non-deterministic
7 lines
157 B
Rust
7 lines
157 B
Rust
use rand::random;
|
|
use wyrand::WyRand;
|
|
|
|
/// Initialize a `WyRand` using `rand`'s thread-local rng
|
|
pub fn thread_rng() -> WyRand {
|
|
WyRand::new(random())
|
|
}
|