]> git.proxmox.com Git - rustc.git/blob - src/doc/index.md
Imported Upstream version 1.2.0+dfsg1
[rustc.git] / src / doc / index.md
1 % Rust Documentation
2
3 Welcome to the Rust documentation! You can use the section headings above
4 to jump to any particular section.
5
6 # Getting Started
7
8 If you haven't seen Rust at all yet, the first thing you should read is the
9 introduction to [The Rust Programming Language](book/index.html). It'll give
10 you a good idea of what Rust is like.
11
12 The book provides a lengthy explanation of Rust, its syntax, and its
13 concepts. Upon completing the book, you'll be an intermediate Rust
14 developer, and will have a good grasp of the fundamental ideas behind
15 Rust.
16
17 [Rust By Example][rbe] was originally a community resource, but was then
18 donated to the Rust project. As the name implies, it teaches you Rust through a
19 series of small examples.
20
21 [rbe]: http://rustbyexample.com/
22
23 # Community & Getting Help
24
25 If you need help with something, or just want to talk about Rust with others,
26 there are a few places you can do that:
27
28 The Rust IRC channels on [irc.mozilla.org](irc://irc.mozilla.org/) are the
29 fastest way to get help.
30 [`#rust`](http://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust) is
31 the general discussion channel, and you'll find people willing to help you with
32 any questions you may have.
33
34 There are also three specialty channels:
35 [`#rust-gamedev`](http://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-gamedev)
36 and
37 [`#rust-osdev`](http://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-osdev)
38 are for game development and operating system development, respectively.
39 There's also
40 [`#rust-internals`](http://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-internals), which is for discussion of the development of Rust itself.
41
42 You can also get help on [Stack
43 Overflow](https://stackoverflow.com/questions/tagged/rust). Searching for your
44 problem might reveal someone who has asked it before!
45
46 There is an active [subreddit](https://reddit.com/r/rust) with lots of
47 discussion and news about Rust.
48
49 There is also a [user forum](https://users.rust-lang.org), for all
50 user-oriented discussion, and a [developer
51 forum](https://internals.rust-lang.org/), where the development of Rust
52 itself is discussed.
53
54 # Specification
55
56 Rust does not have an exact specification, but an effort to describe as much of
57 the language in as much detail as possible is in [the reference](reference.html).
58
59 # Tools
60
61 Rust is still a young language, so there isn't a ton of tooling yet, but the
62 tools we have are really nice.
63
64 [Cargo](https://crates.io) is Rust's package manager, and its website contains
65 lots of good documentation.
66
67 [`rustdoc`](book/documentation.html) is used to generate documentation for Rust code.
68
69 # FAQs
70
71 There are questions that are asked quite often, so we've made FAQs for them:
72
73 * [Language Design FAQ](complement-design-faq.html)
74 * [Language FAQ](complement-lang-faq.html)
75 * [Project FAQ](complement-project-faq.html)
76 * [How to submit a bug report](https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports)
77
78 # The Standard Library
79
80 We have [API documentation for the entire standard
81 library](std/index.html). There's a list of crates on the left with more
82 specific sections, or you can use the search bar at the top to search for
83 something if you know its name.
84
85 # The Error Index
86
87 If you encounter an error while compiling your code you may be able to look it
88 up in the [Rust Compiler Error Index](error-index.html).
89
90 # Community Translations
91
92 Several projects have been started to translate the documentation into other
93 languages:
94
95 - [Russian](https://github.com/kgv/rust_book_ru)
96 - [Korean](https://github.com/rust-kr/doc.rust-kr.org)
97 - [Chinese](https://github.com/KaiserY/rust-book-chinese)
98 - [Spanish](https://github.com/goyox86/elpr)
99