Rust tools setup¶
Original installation instructions for all operating systems
MacOS Homebrew¶
Rust documentation¶
To update tool chain¶
To create a new project¶
# For binary project
cargo new --bin <project_name>
# For library project
cargo new --lib <library_name>
To compile¶
# To compile and run at the same time
cargo run
# For development/debug build
cargo build
# For release build
cargo build --release