Learn Rust - Rust Programming Language https://www.rust-lang.
org/learn
Rust
Install Learn Playground Tools Governance Community Blog
English (en-US)
Learn Rust
Get started with Rust
Affectionately nicknamed “the book,” The Rust Programming Language will give you an
overview of the language from �rst principles. You’ll build a few projects along the way,
and by the end, you’ll have a solid grasp of the language.
READ THE BOOK!
Alternatively, Rustlings guides you through downloading and setting up the Rust toolchain,
and teaches you the basics of reading and writing Rust syntax, on the command line. It's
an alternative to Rust by Example that works with your own environment.
DO THE RUSTLINGS COURSE!
If reading multiple hundreds of pages about a language isn’t your style, then Rust By
Example has you covered. While the book talks about code with a lot of words, RBE shows
off a bunch of code, and keeps the talking to a minimum. It also includes exercises!
1 of 5 8/19/23, 15:21
Learn Rust - Rust Programming Language https://www.rust-lang.org/learn
CHECK OUT RUST BY EXAMPLE!
Documentation
Read the core documentation
All of this documentation is also available locally using the rustup doc command, which will open
up these resources for you in your browser without requiring a network connection!
2 of 5 8/19/23, 15:21
Learn Rust - Rust Programming Language https://www.rust-lang.org/learn
THE STANDARD LIBRARY
Comprehensive guide to the Rust standard library APIs.
EDITION GUIDE
Guide to the Rust editions.
CARGO BOOK
A book on Rust’s package manager and build system.
RUSTDOC BOOK
Learn how to make awesome documentation for your crate.
RUSTC BOOK
Familiarize yourself with the knobs available in the Rust compiler.
COMPILER ERROR INDEX
In-depth explanations of the errors you may see from the Rust compiler.
Build your skills in an application domain
3 of 5 8/19/23, 15:21
Learn Rust - Rust Programming Language https://www.rust-lang.org/learn
COMMAND LINE BOOK
Learn how to build effective command line applications in Rust.
WEBASSEMBLY BOOK
Use Rust to build browser-native libraries through WebAssembly.
EMBEDDED BOOK
Become pro�cient with Rust for Microcontrollers and other embedded systems.
Master
Get help! Rust
Documentation
Curious about the darkest corners of the language? Here’s where you can get into the nitty-gritty:
Rust Forge (Contributor Documentation)
Ask a Question on the Users Forum
English (en-US)
Terms and policies
Code of Conduct
Licenses
Logo Policy and Media Guide
Security Disclosures
Privacy Notice
All Policies
Social
4 of 5 8/19/23, 15:21
Learn Rust - Rust Programming Language https://www.rust-lang.org/learn
The Reference is not a formal spec, but is more detailed and comprehensive than
the book.
Maintained by the Rust Team. See a bug? File an issue!
LookingREAD
for the previous website?
THE REFERENCE
The Rustonomicon is your guidebook to the dark arts of unsafe Rust. It’s also
sometimes called “the ’nomicon.”
READ THE ’NOMICON
The Unstable Book has documentation for unstable features that you can only use
with nightly Rust.
READ THE UNSTABLE BOOK
5 of 5 8/19/23, 15:21