Rust
A language empowering everyone to build reliable and efficient software.
Performance Rust is blazingly fast and memory-efficient: with no runtime or garbage collector, it can power performance-critical services, run on embedded devices, and easily integrate with other languages. |
Reliability Rust’s rich type system and ownership model guarantee memory-safety and thread-safety — enabling you to eliminate many classes of bugs at compile-time. |
Productivity Rust has great documentation, a friendly compiler with useful error messages, and top-notch tooling — an integrated package manager and build tool, smart multi-editor support with auto-completion and type inspections, an auto-formatter, and more. |
Rustup
The Rust installer and version management tool
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh rustup update
Cargo
The Rust build tool and package manager. When you install Rustup you’ll also get the latest stable version of the Rust build tool and package manager, also known as Cargo. Cargo does lots of things:
- build your project with cargo build - run your project with cargo run - test your project with cargo test - build documentation for your project with cargo doc - publish a library to crates.io with cargo publish
To test that you have Rust and Cargo installed, you can run this in your terminal of choice: cargo --version
Knowledge
cargo login -- <token>
References
| ||