Rust and Cargo 1 · Projects and toolchain
Install the nightly toolchain
Install a toolchain for unstable features, then run with cargo +nightly.
rustup toolchain install nightly
Official Rust and Cargo 1 documentation
More projects and toolchain commands
- Check the Rust version
- Update Rust
- Create a new binary project
- Create a new library
- Initialize Cargo in the current folder
- Add a compilation target
All projects and toolchain commands · Rust and Cargo 1 cheatsheet