cargo init

Create a new Cargo package. Equivalent of cargo new, but specifying a directory is optional. More information: https://doc.rust-lang.org/cargo/commands/cargo-init.html.

cargo init

cargo init {{path/to/directory}}

cargo init --lib

cargo init --vcs {{git|hg|pijul|fossil|none}}

cargo init --name {{name}}