Skip to content

Glossary: Coding Interviews in Rust

Cargo

Also written: cargo, cargo new, cargo run, cargo test, Cargo.toml

Rust's build tool, which comes with Rust. `cargo new` creates a project with a `Cargo.toml`, `cargo run` builds and runs it, and `cargo test` runs its tests.

Where the book teaches it

Related terms

Crate#[test]#[cfg(test)]