commands.sh

cargo new

all

Create a new Cargo package. Equivalent of `cargo init`, but specifying a directory is required.

More info →

Examples (1)

Create a new Rust project with a binary target

cargo new path/to/directory
made by @shridhargupta | data from tldr-pages