2014-08-01 16:31:22 -07:00
|
|
|
% Rust Documentation
|
2013-12-22 20:21:45 -06:00
|
|
|
|
2015-12-23 14:15:13 -08:00
|
|
|
<style>
|
|
|
|
nav {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
</style>
|
2014-08-28 14:52:39 -04:00
|
|
|
|
2018-04-03 12:38:53 -04:00
|
|
|
Welcome to an overview of the documentation provided by the Rust project.
|
|
|
|
All of these projects are managed by the Docs Team; there are other
|
|
|
|
unofficial documentation resources as well!
|
2014-08-28 14:52:39 -04:00
|
|
|
|
2018-04-03 12:38:53 -04:00
|
|
|
Many of these resources take the form of "books"; we collectively call these
|
|
|
|
"The Rust Bookshelf." Some are large, some are small.
|
2015-05-08 13:18:04 -07:00
|
|
|
|
2018-04-07 00:42:47 +05:30
|
|
|
# Learn Rust
|
2014-08-28 14:52:39 -04:00
|
|
|
|
2018-04-03 12:38:53 -04:00
|
|
|
If you'd like to learn Rust, this is the spot for you! All of these resources
|
|
|
|
assume that you have programmed before, but not in any specific language:
|
|
|
|
|
2018-04-07 00:42:47 +05:30
|
|
|
## The Rust Programming Language
|
2018-04-03 12:38:53 -04:00
|
|
|
|
|
|
|
Affectionately nicknamed "the book," [The Rust Programming
|
|
|
|
Language](book/index.html) will give you an overview of the language from
|
|
|
|
first principles. You'll build a few projects along the way, and by the end,
|
|
|
|
you'll have a solid grasp of the language.
|
|
|
|
|
2018-04-07 00:42:47 +05:30
|
|
|
## Rust By Example
|
2018-04-03 12:38:53 -04:00
|
|
|
|
|
|
|
If reading multiple hundreds of pages about a language isn't your style, then
|
|
|
|
[Rust By Example](rust-by-example/index.html) 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!
|
|
|
|
|
2018-04-07 00:42:47 +05:30
|
|
|
# Use Rust
|
2018-04-03 12:38:53 -04:00
|
|
|
|
2018-08-19 15:30:23 +02:00
|
|
|
Once you've gotten familiar with the language, these resources can help you
|
2018-04-03 12:38:53 -04:00
|
|
|
when you're actually using it day-to-day.
|
|
|
|
|
2018-04-07 00:42:47 +05:30
|
|
|
## The Standard Library
|
2018-04-03 12:38:53 -04:00
|
|
|
|
|
|
|
Rust's standard library has [extensive API documentation](std/index.html),
|
|
|
|
with explanations of how to use various things, as well as example code for
|
|
|
|
accomplishing various tasks.
|
|
|
|
|
2018-04-05 14:53:58 -04:00
|
|
|
## The Rustc Book
|
|
|
|
|
|
|
|
[The Rustc Book](rustc/index.html) describes the Rust compiler, `rustc`.
|
|
|
|
|
2018-04-07 00:42:47 +05:30
|
|
|
## The Cargo Book
|
2018-04-03 12:38:53 -04:00
|
|
|
|
|
|
|
[The Cargo Book](cargo/index.html) is a guide to Cargo, Rust's build tool and dependency manager.
|
|
|
|
|
2018-04-07 00:42:47 +05:30
|
|
|
## The Rustdoc Book
|
2018-04-03 12:38:53 -04:00
|
|
|
|
|
|
|
[The Rustdoc Book](rustdoc/index.html) describes our documentation tool, `rustdoc`.
|
|
|
|
|
2018-04-07 00:42:47 +05:30
|
|
|
## Extended Error Listing
|
2016-01-10 22:30:09 +00:00
|
|
|
|
2017-02-07 13:04:57 -05:00
|
|
|
Many of Rust's errors come with error codes, and you can request extended
|
2018-04-03 12:38:53 -04:00
|
|
|
diagnostics from the compiler on those errors. You can also [read them
|
|
|
|
here](error-index.html), if you prefer to read them that way.
|
|
|
|
|
2018-04-07 00:42:47 +05:30
|
|
|
# Master Rust
|
2018-04-03 12:38:53 -04:00
|
|
|
|
|
|
|
Once you're quite familiar with the language, you may find these advanced
|
|
|
|
resources useful.
|
|
|
|
|
2018-04-07 00:42:47 +05:30
|
|
|
## The Reference
|
2018-04-03 12:38:53 -04:00
|
|
|
|
|
|
|
[The Reference](reference/index.html) is not a formal spec, but is more detailed and
|
|
|
|
comprehensive than the book.
|
|
|
|
|
2018-04-07 00:42:47 +05:30
|
|
|
## The Rustonomicon
|
2018-04-03 12:38:53 -04:00
|
|
|
|
|
|
|
[The Rustonomicon](nomicon/index.html) is your guidebook to the dark arts of unsafe
|
|
|
|
Rust. It's also sometimes called "the 'nomicon."
|
|
|
|
|
2018-04-07 00:42:47 +05:30
|
|
|
## The Unstable Book
|
2015-09-06 15:25:01 +03:00
|
|
|
|
2018-04-03 12:38:53 -04:00
|
|
|
[The Unstable Book](unstable-book/index.html) has documentation for unstable features.
|