Managing Projects with Cargo
Learn how to manage projects with Cargo.
Introduction to Cargo
The code execution environment in this course already has all tools installed for us. This includes the Rust compiler. Other than the Rust compiler, Rust ships with a tool named Cargo that assists day-to-day interactions with the language. Cargo handles everything from making projects to fetching packages of premade code. It can run programs and call other tools to fix code formatting and find common errors; Cargo has a tool for everything.
Cargo derives its name from Rust’s structure. Rust programs are called ...