Official Rust Books
The following books are maintained at rust-lang.org. Many of them are mentioned in Learn Rust.
Introductory:
- Rust by Example - runnable examples illustrating Rust concepts
- Rustlings - small exercises to get you used to reading and writing Rust code
- The Rust Programming Language - “the book”
Core:
- The Cargo Book - the Rust package manager
- The Edition Guide - guide on introducing changes into the Rust language
- The rustc Book - guide to the compiler for the Rust programming language
- The rustdoc Book - guide to the tool which generates documentation for Rust projects
- The rustup Book - guide to the tool which installs the Rust language from release channels
Advanced:
- Guide to Rustc Development - compiler internals
- Rust Forge - Rust team documentation
- The Rust Reference - primary reference to the Rust language
- The Rust Unstable Book - nightly-only features
- The Rustonomicon - the dark arts of unsafe Rust
- Unsafe Code Guidelines Reference -
unsafe
coding practices
Working groups:
- Compiler team working groups - a list of working groups
- Const Generics Project Group - design and implementation of the const generics feature
- Rust Project Goals - Rust Project Goals tracker
- Standard library developers Guide
- The Rust Language Design Team - information related to the work of the lang team
- The Types Team - traits implementation improvements
- wg-async - foundations of async I/O
Initiative:
- async fn fundamentals initiative
- Dyn upcast initiative
- Generic Associated Types Initiative
- Impl trait initiative
Other:
- Asynchronous Programming in Rust - non-blocking coroutines
- cargo-bisect-rustc - tool for automatically downloading and bisecting rustc artifacts and tests until it finds a given regression
- Clippy Documentation - code lints for programmers
- Criterion.rs - statistics-driven micro-benchmarking
- Error Codes Index - list of all error codes emitted from the Rust compiler
- mdBook - authoring, rendering and serving markdown books
- Polonius - experimental borrow checker crate
- Rust API Guidelines - how to design and present APIs
- Rust RFCs - list of Requests For Comments for changes to Rust
- The Chalk Book - Rust’s new trait system implementation
- The
bindgen
User Guide - automatically generates Rust FFI bindings to C and C++ libraries