Books
The following includes books and other long-form writings about Rust.
Lists of Books
- Little Book of Rust Books↗.
- Awesome Rust Books↗.
- LearnRust↗: A "list of resources to learn Rust - Roadmap from beginner to advanced level". Includes a book section.
rust-learning
↗: A bunch of links to books, blog posts, articles, videos, etc. for learning Rust.
Essential and Official Books
The books found on rust-lang.org
↗ and friends are listed below:
- "The Book": The Rust Programming Language↗.
- The Rust Programming Language↗: An experimental version of the Rust Book enhanced with interactive quizzes, highlighting, and visualizations.
- The Rust Programming Language, 2nd Edition↗ by Steve Klabnik, Carol Nichols 978-1718503106↗: The official Rust Book, in paper format.
- Rust by Example↗: A collection of runnable examples that illustrate various Rust concepts and standard libraries.
- The Rust Cookbook (old)↗.
- The Rust Cookbook (fork)↗.
- The Rust Standard Library↗: Comprehensive guide to the Rust standard library APIs.
- The Rust Reference↗: The primary reference for the Rust programming language.
- The Rustonomicon↗ (nightly version)↗.
Official Reference & Documentation
- The Rust Edition Guide↗. Editions are Rust's way of introducing changes into the language that would not otherwise be backwards compatible.
- Rust Error Codes Index↗.
- The Rust Unstable Book↗.
- The Rust RFC Book↗.
- Rust Forge↗ serves as a repository of supplementary documentation useful for contributors to the Rust programming language repos.
Free eBooks
- Comprehensive Rust↗: Free Rust course developed by the Android team at Google.
- Easy Rust↗ Easy Rust (alternate)↗.
- Effective Rust↗.
- Fast Track to Rust↗.
- A Gentle Introduction to Rust↗.
- Learn Rust by writing Entirely Too Many Linked Lists↗.
- Rust-101↗.
- Rust by Practice↗.
- Rust Development Classes↗.
- Rust Project Primer↗.
General
- Beginning Rust: Get Started with Rust 2021 Edition by Carlo Milanesi (Apress). 978-1484272077↗.
- Creative Projects for Rust Programmers↗: Build exciting projects on domains such as web apps, WebAssembly, games, and parsing, by Carlo Milanesi. 978-1789346220↗.
- Code Like a Pro in Rust by Brenden Matthews. 978-1638354543↗.
- The Complete Rust Programming Reference Guide↗: Design, develop, and deploy effective software systems using the advanced constructs of Rust, by Rahul Sharma, Vesa Kaihlavirta, Claus Matzinger. 978-1838828103↗.
- Effective Rust: 35 Specific Ways to Improve Your Rust Code↗ (O'Reilly)↗ by David Drysdale. 978-1098151409↗ (online version)↗.
- Fullstack Rust↗ by Andy Weiss (Newline↗ or Kindle).
- Hands-on Rust: Effective Learning Through 2D Game Development and Play↗ by Herbert Wolverson. 978-1680508161↗.
- Idiomatic Rust: Code like a Rustacean↗ by Brenden Matthews 9781633437463↗.
- Learn Rust in a Month of Lunches↗ by David MacLeod (Manning)↗ 978-1633438231↗.
- Programming Rust: Fast, Safe Systems Development↗ by Jim Blandy, Jason Orendorff (O'Reilly)↗. 9781491927281↗.
- Programming Rust: Fast, Safe Systems Development↗ by Jim Blandy, Leonora Tindall. 978-1492052593↗.
- Refactoring to Rust↗ by Lily Mara, Joel Holmes. 9781617299018↗.
- Rust Crash Course↗: Build High-Performance, Efficient and Productive Software with the Power of Next-Generation Programming Skills, by Abhishek Kumar. 978-9355510952↗.
- Rust Essentials 2nd ed.↗. 978-1788390019↗.
- Rust for Rustaceans↗: Idiomatic Programming for Experienced Developers, by Jon Gjengset. 978-1718501850↗.
- Rust from the Ground Up↗. It teaches Rust by implementing a classic Unix CLI utility in each chapter (
cat
,head
,wc
...). - Rust in Action: Systems Programming Concepts and Techniques↗ by Tim McNamara. 978-1617294556↗.
- Rust Programming By Example↗: Enter the world of Rust by building engaging, concurrent, reactive, and robust applications, by Guillaume Gomez, Antoni Boucher (Packt). 978-1788390637↗.
- The Rust Programming Language, 2nd Edition↗.
- Rust Under the Hood: A deep dive into Rust internals and generated assembly, by Sandeep Ahluwalia, Deepa Ahluwalia. 979-8320364469↗.
- The Secrets of Rust: Tools↗.
- Step Ahead with Rust: Systems Programming in Rust↗ by Jonathan Creekmore, James Miller (Kindle).
- Zero To Production In Rust: An Introduction to Backend Development↗ by Luca Palmieri. 979-8847211437↗: "An opinionated introduction to backend development in Rust". (website and sample)↗ (Blog)↗ Code for the book (GitHub)↗.
By Topic
APIs and Microservices
- Rust API Guidelines↗.
rust-api.dev
↗.- Hands-On Microservices with Rust: Build, test, and deploy scalable and reactive microservices with Rust 2018↗. 978-1789341980↗.
Async
Command Line Interfaces
-
Command-Line Rust↗ by Ken Youens-Clark (O'Reilly).
-
Command-Line Rust: A Project-Based Primer for Writing Rust CLIs↗: A Project-Based Primer for Writing Rust CLIs by Ken Youens-Clark. 978-1098109431↗.
-
Command-Line Rust: A Project-Based Primer for Writing Rust CLIs 1st Edition↗. 978-1098109431↗.
Compiler & Tools
- The
rustc
Book↗. - Rust Compiler Development Guide↗.
- The Cargo Book↗. Cargo is the Rust package manager.
- The
rustdoc
book↗. - Configuring
rustfmt
↗. - Clippy Documentation↗.
- mdBook Documentation↗.
Concurrency & Parallelism
- Rust Atomics and Locks↗. 9781098119447↗: A deep dive into atomics and locks by Mara Bos.
- Rust Concurrency↗: Master the art of building safe, scalable, and effective software, by Brian Troutwine (Packt). 978-1788399975↗.
Data Analysis
Design Patterns
Embedded Systems
- The Embedded Rust Book↗.
- The Discovery Book↗: Introduction to microcontrollers and how to use Rust with them.
- The Rust on ESP Book↗ for Espressif devices.
- The Embedonomicon↗.
See also the Awesome Embedded Rust↗, a curated list of resources for embedded and low-level development.
Error Handling
Foreign Function Interfaces (FFI)
- The
bindgen
User Guide↗. - The Rust FFI Omnibus↗.
Functional Programming
- Hands-On Functional Programming in Rust↗: Create modular, reusable, and testable applications, by Andrew Johnson. 978-1788839358↗.
Idioms
Interpreters
Machine Learning
- Practical Machine Learning with Rust↗: Creating Intelligent Applications in Rust 978-1484251201↗.
Macros
- The Little Book of Rust Macros↗.
- Write Powerful Rust Macros by Sam Van Overmeire. 9781633437494↗.
Network Programming
- Network Programming with Rust↗ by Abhishek Chanda. 9781788624893↗.
Performance
- Rust High Performance↗ by Iban Eguia Moraza. 978-1788399487↗.
- The Rust Performance Book↗.
Random Numbers
- The Rust Rand Book↗.
Security
- Black Hat Rust: Applied offensive security with the Rust programming language↗ by Sylvain Kerkour.
- The Copenhagen Book↗: General guideline on implementing auth in web applications. Not Rust-specific.
- High Assurance Rust↗: Developing Secure and Robust Software.
Standard Library
- The Rust Standard Library↗: The official, comprehensive guide to the Rust standard library APIs.
- Rust Standard Library Cookbook↗: Over 75 recipes to leverage the power of Rust. 978-1788629652↗.
Unsafe Code
Web
Rust Web Development with warp
, tokio
, and reqwest
by Bastian Gruber. 9781617299001↗.
Webassembly (WASM)
-
Rust and Webassembly↗: "This small book describes how to use Rust and WebAssembly together."
-
Programming WebAssembly with Rust↗: Unified Development for Web, Mobile, and Embedded Applications 1st Edition by Kevin Hoffman. 978-1680506365↗.
This page includes a number of links to the websites of publishers and book merchants for convenience purposes only. It is not an endorsement of these particular retailers or publishers. Click on the ISBN number to gain access to a Wikipedia page with links to a variety of catalogs, ebook databases, and book sellers to choose from.