Rust Tutorial
Learn Rust 1.99 and the 2024 edition step by step, from Cargo and ownership to traits, async code and a real command-line project.
18 free lessons
Intermediate to Advanced
Covers Rust 1.99 (edition 2024)
Start the first lesson Continue where you left off
Getting Started
- 1Rust Introduction
- 2Install Rust with rustup
- 3Cargo: New, Run, Build & Check
- 4Variables, Mutability & Shadowing
- 5Scalar & Compound Types
- 6Functions & Expressions
- 7Control Flow: if, loop, while & for
Ownership & Borrowing
Structs, Enums & Errors
Collections
Modules, Traits & Generics
- 18Modules, Crates & Visibility
- 19Traits (coming soon)
- 20Generics & Trait Bounds (coming soon)
- 21Lifetimes (coming soon)
Closures & Iterators
- 22Closures (coming soon)
- 23Iterators (coming soon)
Advanced Rust
- 24Smart Pointers: Box, Rc & RefCell (coming soon)
- 25Fearless Concurrency (coming soon)
- 26Async Rust with Tokio (coming soon)
- 27Testing: Unit, Integration & Doc Tests (coming soon)
- 28Popular Crates: serde, clap & anyhow (coming soon)
- 29Unsafe Rust (coming soon)
- 30Editions & What Changed in 2024 (coming soon)
- 31Project: Log Analyser CLI (coming soon)
Learn Rust with a mentor
Free lessons get you started. Our Programming & Software Development training adds real projects and code reviews from working developers.
- Project-based learning
- Mentor code reviews
- Free counselling call
