Rust TutorialLesson 3Free preview
Rust Get Started
This lesson is part of Rust · All levels
Summary
This lesson guides Rust's installation steps and use of its official toolchain. Readers are introduced to rustup to manage the compiler version as well as cargo as a versatile build tool and package manager. Beginners will learn to create and run the first Rust project using a terminal.
Key points
- Rust is the official installer and manager of the Rust toolchain.
- Cargo is a very reliable built-in system and package manager.
- The 'cargo new' command creates a new project directory structure automatically
- The 'cargo run' command compiles and executes the application
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.