Lesson 32 of 50
rustUsing External Crates
15 minutes
Course progress64%
Using External Crates
Add dependencies to Cargo.toml and import them in code.
[dependencies]
rand = "0.8"
use rand::Rng;
fn main() {
let mut = rand::();
: = rng.(..=);
(\