Rust and Cargo 1 · Projects and toolchain
Initialize Cargo in the current folder
Turn an existing folder into a Cargo package.
cargo init
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
- Add a compilation target
- Install clippy and rustfmt
All projects and toolchain commands · Rust and Cargo 1 cheatsheet