Leanpub Header

Skip to main content

Full-Stack Rust Web Apps [Bundle of 3 books]

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

You pay

Author earns

$

Also available for 3 book credits with a Reader Membership

These books have a total suggested price of $89.97. Get them now for only $69.99!
About

About

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.

Books

About the Books

WebAssembly 2.0 Essentials, Second Edition

Making Migrations, Cloud-Native Integration, and Production-Ready WebAssembly Applications Easier

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.

Key Features

  • Put together C, C++, Rust, and Python into high-performance WebAssembly modules using Emscripten.
  • Build advanced multi-threaded apps using atomic operations, shared memory and thread-safe sync patterns.
  • Migrate old Wasm 1.0 projects to version 2.0 using proven strategies.
  • Combine WebAssembly with Dapr for microservices using patterns for managing data and sending messages.
  • Deploy and scale Wasm workloads on Kubernetes clusters with complete control over configuration and secrets management.
  • Make performance better by using systematic profiling and advanced compilation techniques for production apps.
  • Take care of module imports, exports, and JavaScript interoperability.
  • Use tables, memory semantics and dynamic dispatch mechanisms for complex logic.
  • Manage networking, security, monitoring, and debugging for WebAssembly cloud-native deployments at scale.

Table of Content

  1. Introduction to WebAssembly
  2. Fundamentals of WebAssembly Programming
  3. WebAssembly Modules and Semantics
  4. Bridging WebAssembly with High-Level Languages
  5. Advanced WebAssembly Tools and Techniques
  6. Advanced Performance Optimization
  7. Practical Migration to Wasm 2.0
  8. Using WebAssembly with Dapr
  9. Running WebAssembly Apps on Kubernetes

Rust In Practice, Third Edition

Concurrency, Memory Safety, GPU Computing, Linux Kernels, and Real-World Systems using Rust 1.85

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
  • Dive in-depth into ownership model and eliminate memory bugs at compile time.
  • Build async, concurrent programs using Tokio without data races or deadlocks.
  • Design production-grade error types with ‘thiserror’ and ‘anyhow’ crates.
  • Write GPU compute kernels and monitor GPU metrics.
  • Integrate Rust libraries into existing Go applications via application binary interfaces.
  • Write a loadable Linux kernel module entirely.
  • Manage heap memory using Box, Rc, Arc, and smart pointer types.
  • Leverage Rust 2024 Edition's new safety rules and migration workflow.
  • Make use of Cargo workspaces, features, and optional dependencies to structure projects.

Table of Content
  1. Why Rust in 2025?
  2. Setting up Rust 1.85 Development Environment
  3. Core Language Essentials
  4. Structs and Data Modeling
  5. Enums, Pattern Matching, and Error Handling
  6. Ownership, Borrowing, Lifetimes, and Raw Pointers
  7. Packages, Crates, and Full Command Suite
  8. Rust Standard Library
  9. Smart Pointers and Memory Management
  10. Concurrency, Parallelism, and Async Programming
  11. Rust 2024 Edition
  12. Rust for GPU and CUDA Programming
  13. Rust for Go Developers
  14. Rust for Linux Kernel

Modern Web Apps using Rust, Second Edition

Build full-stack app on a framework-agnostic core, using Axum, Actix Web, Leptos and PostgreSQL

Halfway through this book you build the entire server again, on a different web framework.

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 WebAssemblyWith 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
  • Separate business rules into a domain crate depending on no framework, database or runtime.
  • Build asynchronous web services on Axum with typed state, extractors and tower middleware.
  • Rebuild same server on Actix Web 4 and work with per-worker arbiter model.
  • Query PostgreSQL through SQLx using reversible migrations and transactions.
  • Publish versioned REST APIs and a GraphQL schema with DataLoader batching.
  • Add OAuth2 sign-in with GitHub, JWT claims and Argon2 password hashing.
  • Build reactive Leptos front-end compiled to WebAssembly, with server-side rendering.
  • Stream live updates over WebSockets, and tune Tokio runtimes and connection pools.
  • Containerize with Docker and cargo-chef, and ship to Kubernetes through CI pipeline.

Table of Content
  1. Setting up Rust 2024, Zed and Leptos
  2. Designing Modern Architecture
  3. Building App Server with Axum
  4. Building Server with Actix Web
  5. Database Integration and State Management
  6. Modern Interactions with REST, GraphQL and OAuth
  7. Front-end Development with Leptos and WebAssembly
  8. Real-time Interactions using WebSockets
  9. Modern Security, Performance and Tuning
  10. Cloud-native Releases and Continuous Delivery

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...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

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

Free Updates. DRM Free.

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

Write and Publish on Leanpub

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.

Learn more about writing on Leanpub