Table of Contents generated with DocToc

Rustup - CLI

Check versions

% rustup --version

Update version

% rustup update

Launch docs

% rustup doc

Cargo - CLI

Create new project

% cargo new <project_name>


% cargo build

# build for release
% cargo build --release

Update dependency versions in Cargo.lock

% cargo update

Build and Run

% cargo run

Compile but don’t generate executable/binary

% cargo check

Open docs for project (including dependencies)

cargo doc --open