Random values using only libstd
#![allow(unused)] fn main() { use std::collections::hash_map::RandomState; use std::hash::{BuildHasher, Hasher}; let random_value = RandomState::new().build_hasher().finish() as usize; println!("Random: {}", random_value); }