rand A Rust library for random number generators and other randomness functionality. Documentation Usage Add this to your Cargo.toml: [dependencies] rand = "0.2" and this to your crate root: extern crate rand;