The Rust Programming Language (Book) logo

The Rust Programming Language (Book)

Free

The Rust Programming Language

FreeFree tier
Type
Open Source

About The Rust Programming Language (Book)

The Rust Programming Language, commonly known as 'The Book', is the official, comprehensive guide to learning Rust. Authored by Steve Klabnik, Carol Nichols, and Chris Krycho with input from the Rust Community, it covers fundamentals through advanced topics and is updated for Rust 1.90.0 and the 2024 edition. Available online for free, offline via rustup, and in print and ebook formats from No Starch Press. The online version features keyboard navigation, search, multiple color themes, and a separate interactive edition with quizzes and visualizations.

Key Features

Official Rust learning resource maintained by the Rust Community
Covers Rust 1.90.0 and 2024 edition idioms
Available online, offline via `rustup doc --book`, and in print/eBook
Keyboard shortcuts for navigation and search across chapters
Multiple theme options (Auto, Light, Rust, Coal, Navy, Ayu)
Separate interactive version with quizzes and visualizations at rust-book.cs.brown.edu
Community translations available

Pros & Cons

Pros
  • Completely free and open access online
  • Officially endorsed and maintained by the Rust project
  • Regularly updated to match the latest Rust edition
  • Multiple formats: web, offline, and physical book
  • Includes interactive learning supplement with exercises
Cons
  • Long-form linear reading may not suit all learning styles
  • Interactive features require separate website (not built into default book)

Best For

Learning Rust programming from beginner to advancedReference for Rust developers seeking up-to-date language documentationTeaching Rust in courses or workshops

FAQ

Is The Rust Programming Language book free?
Yes, the full HTML version is available online for free at doc.rust-lang.org/stable/book/.
How can I access the book offline?
If you have installed Rust via rustup, run `rustup doc --book` to open the book offline in your browser.
What Rust version does this book cover?
This version of the text assumes Rust 1.90.0 (released 2025-09-18) or later with edition = "2024" in Cargo.toml.
Are there translations of the book?
Yes, several community translations are available. Links can be found on the book's official page.