Documentation
Add this to your Cargo.toml:
Cargo.toml
[dependencies] rand = "0.1"
and this to your crate root:
extern crate rand;