CmdID

CmdID / Commands

cargo-init

Create a new Cargo package. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Create a new Cargo package. Equivalent of cargo new, but specifying a directory is optional.

Initialize a Rust project with a binary target in the current directory

cargo initIdentify

Initialize a Rust project with a binary target in the specified directory

cargo init path/to/directoryIdentify

Initialize a Rust project with a library target in the current directory

cargo init --libIdentify

Initialize a version control system repository in the project directory (default: git)

cargo init --vcs gitIdentify

Set the package name (default: directory name)

cargo init --name nameIdentify