The Rust Bookshelf

Minimum Rust version: various, each book is different.

As Rust's documentation has grown, we've gained far more than just "The book"and the reference. We now have a collection of various long-form docs,nicknamed "the Rust Bookshelf." Different resources are added at varioustimes, and we're adding new ones as more get written.

The Cargo book

Minimum Rust version: 1.21

Historically, Cargo’s docs were hosted on http://doc.crates.io, whichdoesn’t follow the release train model, even though Cargo itself does. Thisled to situations where a feature would land in Cargo nightly, the docs wouldbe updated, and then for up to twelve weeks, users would think that it shouldwork, but it wouldn’t yet. https://doc.rust-lang.org/cargo is the new homeof Cargo’s docs, and http://doc.crates.io now redirects there.

The rustdoc book

Minimum Rust version: 1.21

Rustdoc, our documentation tool, now has a guide at https://doc.rust-lang.org/rustdoc.

Rust By Example

Minimum Rust version: 1.25

Rust by Example used to live at https://rustbyexample.com, but now is part of the Bookshelf!It can be found at https://doc.rust-lang.org/rust-by-example/. RBE lets you learn Rust throughshort code examples and exercises, as opposed to the lengthy prose of The Book.