stable | Won't change, should be bug-free (default) |
beta | Won't change, but might have bugs |
nightly | Contains experimental features that might be removed or changed |
Installation Instructions:
https://rustup.rsGithub Repository:
https://github.com/rust-lang-nursery/rustup.rsrustc
and pass the correct parameters for your projectDependencies are managed in your Cargo.toml
file.
The Cargo.lock
file allows for reproducible builds.
It's created automatically, so don't edit it by hand.
The Cargo Book:
https://doc.rust-lang.org/cargoIn Rust, packages are called crates.
An opinionated alternative to Crates.io that's great for browsing:
https://crates.rs/Available as part of cargo
since Rust 1.24
cargo
!Find a list of ALL current lints here:
https://rust-lang-nursery.github.io/rust-clippy/Rust lang support for your IDE
Mostly depends on the Rust compiler
Falls back to Racer for situations where the compiler is too slow
More info:
https://github.com/rust-lang-nursery/rls https://github.com/racer-rust/racerrust
extensionrustfmt
and clippy
--release
or --debug
modestable
, beta
, and nightly
channelsPlay with it here:
https://play.rust-lang.org/Great for when you really want to make a program as performant as possible
Includes two example programs, pre- and post-optimization
See it here:
https://godbolt.org/Don't forget to switch it to Rust mode
a.k.a "TRPL"
a.k.a "The Book"
The best way to learn Rust!
It contains almost anything you could want to know about the language!
Read the whole thing right now:
https://doc.rust-lang.org/book/2018-editionHowever...
there exists a dark counterpart to
The Book
known as
The Rustonomicon
unsafe
Rust
You should be pretty familiar with safe Rust first
It deals with some of the more unstable aspects of Rust
std::vec::Vec
Unlock the dark secrets of Rust:
https://doc.rust-lang.org/nomicon/