mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
9 lines
278 B
Markdown
9 lines
278 B
Markdown
# cargo new
|
|
|
|
> Create a new Cargo package.
|
|
> Equivalent of `cargo init`, but specifying a directory is required.
|
|
> More information: <https://doc.rust-lang.org/cargo/commands/cargo-new.html>.
|
|
|
|
- Create a new Rust project with a binary target:
|
|
|
|
`cargo new {{path/to/directory}}`
|