The Rust Rand Book - Parallel RNGs has a very good summary about parallel RNGs. It also gives code examples using the rayon library. However, a few things to notice.
-
rand::ThreadRng (obtained by calling rand::thread_rng) is often used in code examples of parallel RNGs as it uses thread-local storage …