mrkeyoor.comAsk

rust-lang/booktested 07 Oct 2026commit 1500248

book review

Start with the hosted Rust Book if you want to learn through reading, and add Rustlings for exercises alongside it.

  • Install 18 s
  • Build 34 s
74/74tests passed
  • 34 packages
Dev Toolsevaluationupdated 01 Nov 2026
+20stars / 7d

Choose The Rust Programming Language if you want to learn Rust through a book, and pair it with Rustlings when you want exercises alongside the reading. The Rust Programming Language is free to read online. Our run on October 7, 2026 used commit `1500248`. That sandbox run checked repository commands; it did not establish that the HTML book rendered correctly, every listing worked, or readers learned the material.

Verdict

Start with the hosted Rust Book if you want to learn through reading, and add Rustlings for exercises alongside it. Use Rust by Example when you prefer examples with a live editor. Our October 7 sandbox command outcomes were successful, but the replayed parser summaries cannot establish complete example coverage. Build the repository when you need its source or want to contribute.

We ran it

Lab card: what happened when we ran book
Lab card from our sandbox run
Screenshot of book (doc.rust-lang.org/book)
doc.rust-lang.org/book
Install✓ · 18s34 packages
Build✓ · 34s
Tests✓ · 17s74 passed · 0 failed of 74 (cargo test)
Repo2653 files~18,977 lines of source · 10.5 MB · 1 CI workflows

Answers from our run

Does book build from source?

Dependencies installed in 18 seconds (34 packages), and the build succeeded in 34 seconds. We cloned commit 1500248 into a clean Debian container with 3 CPUs and no project-specific setup.

Do book's tests pass?

Yes. The project's own test command finished in 17 seconds and reported 74 passed, 0 failed (cargo test).

Who should not use book?

Learners who want exercises to be their main activity: consider an exercise course rather than relying on reading alone.

What are the alternatives to book?

Rustlings, Rust by Example. Start with the hosted Rust Book if you want to learn through reading, and add Rustlings for exercises alongside it.

Setup5/5The visible rubric supports 5 for the documented reading and local-build routes plus successful stored command outcomes. The run does not establish HTML rendering or exhaustive example checks.
Docs5/5The visible rubric supports 5 for the free book and explicit build, test, formatting and contribution instructions. Learning effectiveness was not measured.
Community4/5Last push on 2026-07-14 and 18,569 stars.Editor’s note: The supplied primary extracts do not establish contributor participation, maintainer response times or the quality of community support.
Maturity5/5The visible rubric supports 5 for print publication, Rust-release editions and an explicit correction policy. This assesses the publishing process, not the speed of accepting additions.

How we score

Who it’s for

Programmers who want to learn Rust through a free online book.
Readers who want to combine the official text with Rustlings exercises.
Contributors who need to inspect, build or correct the book's source.

Who it’s NOT for

Learners who want exercises to be their main activity: consider an exercise course rather than relying on reading alone.
Contributors expecting broad additions to land quickly: maintainers say changes beyond error corrections may wait months or years.
Anyone seeking verified coverage of every book example: the attached Cargo record does not establish that.

Setup reality

Our run on October 7, 2026 used commit 1500248, with full SHA 1500248d8f230566e4ec9f27fcbb8fe9e2898ab1. Our sandbox was lab-rust:1, with 3 CPUs and 12 GB of RAM. The harness recorded install, build and test steps as successful, each with exit code 0 and no timeout. Stored durations were 18 seconds for installation, 34 seconds for the build and 17 seconds for cargo test; the dependency count was 34.

The attached stored parser summaries report 74 passed, 0 failed and 74 total. The retained output repeats Cargo summaries, so these aggregates may double-count suites. Unique and exhaustive counts are unverified. The raw link2print output also contains an ignored test; ignored does not mean failed.

The build tail identifies rust-book-tools compilation. This record does not establish an HTML build, execution of the README's separate mdBook example checks, a deployed site or a learner workload. No audit result is attached, and security scan coverage is unknown.

Building the book locally requires mdBook, ideally the version used by rust-lang/rust. The README says the generated output goes into the book subdirectory for opening in a browser.

Start with the hosted book; add exercises alongside it

The Rust Programming Language is free to read online. Start with the published Rust Book if you want to learn through reading; building the repository is a separate contributor task. Rustlings recommends its small exercises in parallel with the official Rust book. That makes Rustlings a companion when you want practice during your reading. Our sandbox did not measure learning outcomes for either resource.

Our October 7 run checked repository commands

Our run on October 7, 2026 used commit 1500248. The exact matching record identifies our sandbox as lab-rust:1, with 3 CPUs and 12 GB of RAM. Its checkout contained 2,653 files, about 18,977 source lines and a 10.5 MB footprint. This review uses that stored execution, not a new run. These observations describe one checkout in our sandbox and do not establish compatibility across other systems.

Our harness records success flags, exit codes, timeout flags, elapsed time and parsed test summaries. Installation, build and cargo test returned exit code 0 without timing out, with stored durations of 18, 34 and 17 seconds respectively. The build tail shows compilation of rust-book-tools. Successful command outcomes do not establish that the HTML book rendered, its examples all ran, or a learner completed a project.

The stored test totals are not verified coverage

The attached stored parser summaries report 74 passed, 0 failed and 74 total. Repeated Cargo summary lines appear in the retained output, so the aggregates may double-count suites; unique and exhaustive test counts have not been verified. The raw link2print output includes an ignored case named tests::parses_link_without_reference_as_reference_with_asterisks. That case was skipped, not failed. Its suite footer neither replaces the stored aggregates nor establishes coverage of the book's listings.

The repository README documents separate mdBook checks for code examples. Their execution is not established by this record. No audit result is attached, and security scan coverage is unknown. The MrKeyoor testing methodology explains the recording of command outcomes and parsed counts. Its current description provides provenance context; it does not establish which methodology version governed this older run.

Build locally for source work and check main before reporting errors

The README requires mdBook for a local book build and recommends the version used by the main Rust repository. Generated output goes into the book subdirectory. For offline reading without working on the source, the published book also describes access through Rust installations made with rustup. The stable, beta and nightly editions can trail corrections already merged into the repository, so a hosted-page problem may already have a fix.

The contributing guide asks contributors to check main and search existing issues and pull requests before reporting a problem. Edits belong in src; nostarch contains publisher snapshots. Maintainers say changes beyond error corrections may wait months or years because they keep the online and printed books close. That policy matters if your proposed contribution adds teaching material rather than fixes an error.

Choose a companion or a different study format

Rustlings recommends its small exercises in parallel with the official Rust book. Use that pairing when you want to alternate reading with writing Rust. Rust by Example includes a live code editor. Its README says running examples requires an internet connection, while reading the content can work offline. Choose Rust by Example when examples are your preferred study format, and account for the connection requirement before planning offline practice.

Rating rubric and limits

These editorial ratings use a five-point scale: 1 means a documented serious obstacle, 2 substantial friction, 3 a workable route with material caveats, 4 strong evidence with a relevant limitation, and 5 a clearly documented route or process supported by the supplied evidence. An unknown dimension is unassessed. The ratings judge the stated dimension; they do not measure learning effectiveness, universal compatibility, security or exhaustive test coverage.

Alternatives

ProjectWhat it isPick it when
Rustlings gh↗Small exercises for getting used to reading and writing Rust code.Use it as a companion during your reading; its README recommends working in parallel with the official Rust book.
Rust by ExampleRust examples with a live code editor; running examples requires internet access, while content can be read offline.Choose it as a different study format when you prefer examples and can meet the connection requirement for running them.

What people are saying

  1. [mastodon-trends] GOP lawmakers quietly slash funds for Dolly Parton children's book charity
  2. [github-trending] rust-lang/book
  3. [hackernews] Python Polars Cheatsheet (based on our O'Reilly book)
  4. [github-trending] bojieli/ai-agent-book
  5. [mastodon-trends] Bondi library removes book How to Sell a Genocide from shelves after complaint
  6. [velocity-scout] alchaincyf/deepseek-harness-orange-book

Sources

  1. The Rust Programming Language repository
  2. The Rust Programming Language online book
  3. Rust Book contributing guide
  4. Rust 2024 Print Edition release
  5. Chapter-end questions request
  6. PDF download request

More dev tools reviews