Rust and Cargo 1 · Projects and toolchain
Update Rust
Update the installed toolchains to their latest releases.
rustup update
Official Rust and Cargo 1 documentation
More projects and toolchain commands
- Check the Rust version
- Create a new binary project
- Create a new library
- Initialize Cargo in the current folder
- Add a compilation target
- Install clippy and rustfmt
All projects and toolchain commands · Rust and Cargo 1 cheatsheet