Rust Programming
Master systems programming with Rust โ ownership, traits, error handling, async with Tokio, and building production web APIs with Axum.
About this course
A complete, production-focused Rust curriculum. Starts with Cargo and the toolchain, then goes deep on the concepts that make Rust unique โ ownership, borrowing, and lifetimes โ before covering structs and enums, traits and generics, idiomatic error handling, iterators, smart pointers, fearless concurrency with threads and async Tokio, testing, and finally building and deploying a real REST API with Axum and SQLx. Memory safety without garbage collection, from first principles to production.
Curriculum (10 modules)
Free Preview
Rust Fundamentals & Cargo
The toolchain, Cargo, crates, variables and mutability, shadowing, and why Rust compiles to fast, safe native code.
Ownership, Borrowing & Lifetimes
The heart of Rust โ move semantics, references and borrowing rules, slices, and how lifetimes prevent dangling pointers.
Structs, Enums & Pattern Matching
Model your domain with structs and enums, implement methods, and use exhaustive match expressions โ Rust's superpower for correctness.
Traits & Generics
Shared behavior with traits, generic functions and types, trait bounds, trait objects, and the derive macros you'll use everywhere.
Error Handling
Result, the ? operator, panic vs recoverable errors, and production-grade error types with thiserror and anyhow.
Collections & Iterators
Vec, HashMap, String vs &str, and the iterator adapter chains that replace loops with zero-cost functional pipelines.
Smart Pointers & Interior Mutability
Box, Rc, Arc, RefCell, and Mutex โ heap allocation, shared ownership, and safely mutating shared state.
Concurrency & Async with Tokio
Fearless concurrency โ threads and channels, then async/await, the Tokio runtime, tasks, and select.
Testing Rust Applications
Unit tests, integration tests, doc tests, assertion macros, and testing async code with Tokio.
Building a Web API with Axum
A production REST API โ Axum routing, extractors, shared state, SQLx, error responses, and deploying a tiny static binary with Docker.
Free
Free for everyone ยท Lifetime access
100% free โ no payment details needed