Zero To Production In Rust
Luca Palmieri's book on backend development in Rust: you build a real email newsletter API from scratch with integration tests, structured logging, error handling, authentication, CI and deployment. The best end-to-end picture of a production Rust service.
More than 18,000
zero2prod.com · Sept 2026
4.7/5
zero2prod.com · Sept 2026
11 chapters, about 600 pages
zero2prod.com · Sept 2026
Book
Web Development
Luca Palmieri
6 to 10 weeks alongside your own project
Intermediate
Ebook £35, paperback £49
What the book is
Zero To Production In Rust is a hands-on introduction to backend development in Rust by Luca Palmieri, who drew on running many Rust production services for a payments platform. Across 11 chapters and about 600 pages you build a fully working email newsletter API from scratch. The source code for the book project is public on GitHub, tests included.
What you learn
The site lists the skills it teaches: navigating the crates ecosystem, structuring an application to be modular and extensible, writing tests from single units to full integration tests, enforcing domain rules with Rust's type system, authenticating and authorising users, a robust error handling strategy, observing the application with structured logs, and setting up a continuous integration and deployment pipeline.
Which framework does it use?
The book uses actix-web, with SQLx for PostgreSQL and the tracing crates for logging. If you are learning Axum, that is less of a problem than it sounds: the testing approach, configuration, error handling, telemetry and deployment chapters carry over almost unchanged, and the handler code maps closely onto Axum's extractors.
Is it worth buying?
If you want to work as a Rust backend developer, it is one of the few resources that shows the whole path from an empty folder to a deployed, tested, observable service, and the testimonials on its site come from engineers who used it to bring Rust into their teams. It is not a first Rust book: read the official Rust book first.
How long it takes
Most readers take several weeks. It works best if you build the project chapter by chapter, or build your own API in parallel and apply each chapter to it.
Prerequisites
The Rust book or equivalent, basic SQL, and some idea of what an HTTP API is. It is written to be approachable if Rust feels intimidating, but it moves faster than a beginner's book.
Price and formats
The official site lists the ebook at £35 (PDF, ePUB and MOBI, with free updates for the life of the book) and the paperback at £49. A free sample is available to download from the site.
What you can do after it
Structure, test, instrument and deploy a Rust API with confidence, and explain the choices behind each part in a technical conversation.
Common questions
Is the code up to date? The ebook receives free updates, and the GitHub repository tracks current crate versions.
Ready to start?
Opens on Luca Palmieri in a new tab.
Stuck on something specific?
Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Sessions are free for approved Sefism members, and a few slots open each week.
Follow along
New writing, resources and project ideas land here first.