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.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
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.
What's inside
Handle the borrow checker in an asynchronous environment
Build web APIs and handle JSON
Compose a tech stack for asynchronous Rust development
Handle errors gracefully
Test, trace, log, and debug
Deploy Rust applications to multiple environments
About the reader
This book is for web developers familiar with Java, Node, or Go, and the absolute basics of Rust.
About the author
Bastian Gruber was part of the official Rust Async Working Group, and founded the Rust and Tell Berlin MeetUp group.
Table of Contents
PART 1 INTRODUCTION TO RUST
1 Why Rust?
2 Laying the foundation
PART 2 GETTING STARTED
3 Create your first route handler
4 Implement a RESTful API
5 Clean up your codebase
6 Logging, tracing, and debugging
7 Add a database to your application
8 Integrate third-party APIs
PART 3 BRING IT INTO PRODUCTION
9 Add authentication and authorization
10 Deploy your application
11 Testing your Rust application
"synopsis" may belong to another edition of this title.
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. He has worked for one of the world's largest Digital Currency exchanges, using Rust on its core backend. He has over twelve years experience as a writer, and blogs regularly on Rust for LogRocket, his own blog, and other magazines and news outlets.
"About this title" may belong to another edition of this title.
Seller: -OnTimeBooks-, Phoenix, AZ, U.S.A.
Condition: good. A copy that has been read, remains in good condition. All pages are intact, and the cover is intact. The spine and cover show signs of wear. Pages can include notes and highlighting and show signs of wear, and the copy can include "From the library of" labels or previous owner inscriptions. 100% GUARANTEE! Shipped with delivery confirmation, if you're not satisfied with purchase please return item! Ships via media mail. Seller Inventory # OTV.1617299006.G
Seller: BooksRun, Philadelphia, PA, U.S.A.
Paperback. Condition: Very Good. It's a well-cared-for item that has seen limited use. The item may show minor signs of wear. All the text is legible, with all pages included. It may have slight markings and/or highlighting. Seller Inventory # 1617299006-11-1
Seller: Wonder Book, Frederick, MD, U.S.A.
Condition: As New. Like New condition. A near perfect copy that may have very minor cosmetic defects. Seller Inventory # V12B-04717
Seller: HPB-Red, Dallas, TX, U.S.A.
paperback. Condition: Good. Connecting readers with great books since 1972! Used textbooks may not include companion materials such as access codes, etc. May have some wear or writing/highlighting. We ship orders daily and Customer Service is our top priority! Seller Inventory # S_450649950
Seller: Better World Books: West, Reno, NV, U.S.A.
Condition: Good. Former library copy. Pages intact with minimal writing/highlighting. The binding may be loose and creased. Dust jackets/supplements are not included. Includes library markings. Stock photo provided. Product includes identifying sticker. Better World Books: Buy Books. Do Good. Seller Inventory # 52368736-75
Seller: Textbooks_Source, Columbia, MO, U.S.A.
paperback. Condition: Good. Ships in a BOX from Central Missouri! May not include working access code. Will not include dust jacket. Has used sticker(s) and some writing or highlighting. UPS shipping for most packages, (Priority Mail for AK/HI/APO/PO Boxes). Seller Inventory # 009905036U
Seller: GreatBookPrices, Columbia, MD, U.S.A.
Condition: good. May show signs of wear, highlighting, writing, and previous use. This item may be a former library book with typical markings. No guarantee on products that contain supplements Your satisfaction is 100% guaranteed. Twenty-five year bookseller with shipments to over fifty million happy customers. Seller Inventory # 44482289-5
Seller: INDOO, Avenel, NJ, U.S.A.
Condition: As New. Unread copy in mint condition. Seller Inventory # SS9781617299001
Seller: INDOO, Avenel, NJ, U.S.A.
Condition: New. Brand New. Seller Inventory # 9781617299001
Seller: GreatBookPrices, Columbia, MD, U.S.A.
Condition: New. Seller Inventory # 44482289-n