Rust Web Development
With warp, tokio, and reqwest

EPUB · English
Price and availability
EPUB eBookUS store
$67.99
Sign in to buyYou’ll review your order and final price before payment.
Download from your library after delivery. Protected eBooks need a compatible reading app.
For personal use under the eBook licence.
Territorial availability
Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa
Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.
- Format
- EPUB
- DRM
- Not stated by the publisher
- Language
- English
- Publisher
- Manning
- Published
- 7 March 2023
- ISBN
- 9781638351825
- Subjects
- Computing & information technology, Information technology: general issues, Computer programming / software development, Computer networking & communications, Computing and Information Technology, Digital and Information technology: general topics, Computer programming / software engineering, Computer networking and communications
About this book
Create bulletproof, high-performance web apps and servers with Rust.In Rust Web Development you will learn:Handling the borrow checker in an asynchronous environmentLearning the ingredients of an asynchronous Rust stackCreating web APIs and using JSON in RustGraceful error handlingTesting, tracing, logging, and debuggingDeploying Rust applicationsEfficient database accessRust Web Development is a pragmatic, hands-on guide to creating server-based web applications with Rust. If youve designed web servers using Java, NodeJS, or PHP, youll instantly fall in love with the performance and development experience Rust delivers. Hit the ground running! Author Bastian Grubers sage advice makes it easy to start tackling complex problems with Rust. Youll 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 technologyIf youre 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 bookRust 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, youll build a complete Q&A web service and iterate on your code chapter-by-chapter, just like a real development project.What's insideHandle the borrow checker in an asynchronous environmentBuild web APIs and handle JSONCompose a tech stack for asynchronous Rust developmentHandle errors gracefullyTest, trace, log, and debugDeploy Rust applications to multiple environmentsAbout the readerThis book is for web developers familiar with Java, Node, or Go, and the absolute basics of Rust.About the authorBastian Gruber was part of the official Rust Async Working Group, and founded the Rust and Tell Berlin MeetUp group.Table of ContentsPART 1 INTRODUCTION TO RUST1 Why Rust?2 Laying the foundationPART 2 GETTING STARTED3 Create your first route handler4 Implement a RESTful API5 Clean up your codebase6 Logging, tracing, and debugging7 Add a database to your application8 Integrate third-party APIsPART 3 BRING IT INTO PRODUCTION9 Add authentication and authorization10 Deploy your application11 Testing your Rust application
Bibliographic data © Gardners Books Ltd.