Skip to content

Glossary: Rust Basics

rand

The usual crate for random numbers, since Rust's standard library has none. `rand::random_range(1..=20)` picks a random number.

Where the book teaches it

Related terms

Cratecargo add