1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-10 03:15:41 +02:00
tldr/pages.zh/common/cargo-new.md
Beriholic 33770df77d
cargo*: add Chinese translation (#12312)
* cargo-*: add Chinese translation

---------

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-03-14 10:25:45 +05:30

9 lines
277 B
Markdown

# cargo new
> 创建一个新的 Cargo 包。
> 相当于 `cargo init`,但是需要指定一个目录。
> 更多信息:<https://doc.rust-lang.org/cargo/commands/cargo-new.html>.
- 使用二进制目标创建一个新的 Rust 项目:
`cargo new {{path/to/directory}}`