Learning Rust
Building a Webserver from Scratch
A hands-on guide to learning Rust by incrementally building a webserver. Each chapter introduces new language concepts through practical server features - starting from a raw TCP listener and ending with a fully tested, async, database-backed HTTP server.
01Hello, Rust02Rust Fundamentals03Ownership04Structs, Enums & Matching05Your First TCP Listener06Parsing HTTP07Collections & Stdlib08Error Handling09Modules & Crates10Traits & Generics11Closures & Iterators12Concurrency13Async & Tokio14JSON & Serde15File I/O & Static Files16Lifetimes17Smart Pointers18Macros19Testing20Logging & Config21Middleware22Databases23Security24Performance25Deployment