Rust Web Development: With Warp, Tokio, and Reqwest

  • 5h 47m
  • Bastian Gruber
  • Manning Publications
  • 2023

Create bulletproof, high-performance web apps and servers with Rust.

In Rust Web Development you will learn:

  • Handling the borrow checker in an asynchronous environment
  • Learning the ingredients of an asynchronous Rust stack
  • Creating web APIs and using JSON in Rust
  • Graceful error handling
  • Testing, tracing, logging, and debugging
  • Deploying Rust applications
  • Efficient database access

Rust Web Development is a pragmatic, hands-on guide to creating server-based web applications with Rust. If you’ve designed web servers using Java, NodeJS, or PHP, you’ll instantly fall in love with the performance and development experience Rust delivers. Hit the ground running! Author Bastian Gruber’s sage advice makes it easy to start tackling complex problems with Rust. You’ll learn how to work efficiently using pure Rust, along with important Rust libraries such as tokio for async runtimes, warp for web servers and APIs, and reqwest to run external HTTP requests.

about the technology

If you’re sick of cookie-cutter web development tools that are slow, resource hungry, and unstable, Rust is the solution. Rust services deliver rock-solid safety guarantees, an amazing developer experience, and even a compiler that automatically prevents common mistakes!

about the book

Rust Web Development, teaches you to build server-side web apps using Rust, along with important Rust libraries like tokio for async runtimes, warp for web servers and APIs, and reqwest to run external HTTP requests. The book is packed full of examples, code samples, and pro tips for setting up your projects and organizing your code. As you go, you’ll build a complete Q&A web service and iterate on your code chapter-by-chapter, just like a real development project.

About the Author

Bastian Gruber is a Protocol Engineer at Centrifuge. He was part of the official Rust Async Working Group, and founded the Rust and Tell Berlin MeetUp group.

In this Book

  • About This Book
  • Why Rust?
  • Laying the Foundation
  • Create Your First Route Handler
  • Implement a RESTful API
  • Clean up Your Codebase
  • Logging, Tracing, and Debugging
  • Add a Database to Your Application
  • Integrate Third-Party APIs
  • Add Authentication and Authorization
  • Deploy Your Application
  • Testing Your Rust Application
SHOW MORE
FREE ACCESS