add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -1,8 +1,8 @@
# cargo init
> 创建一个新的 Cargo 包。
> 相当于 `cargo new`,但指定目录是可选的。
> 更多信息:<https://doc.rust-lang.org/cargo/commands/cargo-init.html>.
> 相当于 `cargo new`,但指定目录是可选的。
> 更多信息:<https://doc.rust-lang.org/cargo/commands/cargo-init.html>
- 在当前目录中初始化一个带有二进制目标的 Rust 项目:
@@ -16,10 +16,10 @@
`cargo init --lib`
- 在项目目录中初始化版本控制系统仓库 (默认为git)
- 在项目目录中初始化一个版本控制系统仓库(默认:`git`
`cargo init --vcs {{git|hg|pijul|fossil|none}}`
- 设置包名称 (默认目录名称)
- 设置包名称默认目录名称
`cargo init --name {{name}}`
`cargo init --name {{name}}`