The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...

Build full-stack web apps entirely in Rust, using WebAssembly and cloud-native delivery. This bundle's got everything you need to build fast, safe, modern web applications without ever leaving the Rust ecosystem, from language fundamentals to browser-native Wasm.
Bought separately
$89.97
Minimum price
$69.99
$76.99
About the Bundle
This bundle lets you build, secure and ship full-stack web applications using Rust. So, Modern Web Apps using Rust Second Edition will take you through all the latest stuff, like edition-2024 patterns, WebAssembly, and cloud-native delivery for production-grade apps. The Rust in Practice Third Edition gives you the language depth you need to make those apps robust. It covers concurrency, memory safety and modern idioms on Rust 1.85. And WebAssembly 2.0 Essentials Second Edition is the icing on the cake, giving you the Wasm 2.0 skills you need to run Rust natively in the browser.
All these three books give frontend and full-stack developers everything they need to deliver fast, safe, modern web applications without leaving the Rust ecosystem.
About the Books
This book is for you if you're tired of watching JavaScript struggle with complicated calculations while your users get impatient. I wrote this second edition because WebAssembly 2.0 changes everything, and I wanted to show you exactly how to use it without the usual technical book problems.
The first thing we'll do is go through the basics, like memory management and control flow, which are the most important. Then we'll move on to putting together C, C++, Rust, and Python into Wasm modules that actually work. I'll show you how to use multi-threading, profiling and optimisation techniques that I've used in real projects, not just theoretical exercises. I know a lot of you have old Wasm 1.0 code, so I've written a whole chapter about how to move it over without causing any problems. And we'll also learn how to use WebAssembly in other ways, not just in browsers. You'll learn to work with Dapr for distributed microservices, deploy on Kubernetes, and build cloud-native applications that scale well.
There is working code in every chapter that you can use right away. There is no unnecessary information, just practical techniques that solve real problems. I've figured out the tricky parts and the things that can go wrong, and I'm sharing them what actually works. By the time you finish this book, it will have taught you everything you need to build WebAssembly applications so quickly that people will be amazed.
Whether you're just starting out or a fully-fledged Rust pro, this third Edition is a goldmine of knowledge about Rust. This book has been updated with Rust 1.85 and Rust 2024 Edition, and it takes you on a really structured learning path to write production-grade systems, async services, GPU compute kernels, Linux kernel modules, and Go-integrated libraries.
The book is built around a single, progressive application, and every chapter adds a functional layer to a real Linux system-metrics tool. The knowledge you gain from this book, is working and evolving codes that you can study, extend, and own. You'll get the hang of ownership and borrowing, handle the borrow checker, build concurrent and async programs with Tokio, manage memory without a garbage collector, and use Rust in domains that were once reserved exclusively for C and C++.
Whatever stage you're at, whether you're just starting out and writing your first function or you're a seasoned engineer migrating a critical service to Rust, this strong practically focussed book has got you covered.
Key Learnings
Table of Content
This book isn't for practice, but to test out the architecture. All you are learning in this book, is build a full-stack Rust application, on Axum, and then rebuild it again on Actix Web 4, and the domain crate won't change at all. Under both, you'll find a pinned Rust 1.95 and edition 2024 toolchain, business rules that don't rely on any framework, and PostgreSQL accessed through SQLx with queries and transactions that are verified at compile time.
When you're done there, you'll have versioned REST APIs and a GraphQL schema, OAuth2 sign-in with GitHub, JWT claims and Argon2 hashing, and a reactive Leptos storefront compiled to WebAssembly. With WebSockets, you can stream live updates, size Tokio runtimes and connection pools by measurement, then ship to Kubernetes through a gated pipeline. The idea is not to turn you into a Rust expert overnight, but to equip you with the knowledge to build something that will keep on going long after its dependencies are obsolete.
Key Learnings
Table of Content
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.
Learn more about writing on Leanpub
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.