mirror of https://github.com/CrimsonTome/tldr.git
10 lines
279 B
Markdown
10 lines
279 B
Markdown
|
# cargo new
|
||
|
|
||
|
> Create a new Cargo package.
|
||
|
> Equivalent of `cargo init`, but specifiying 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}}`
|