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>
This commit is contained in:
Beriholic
2024-03-14 12:55:45 +08:00
committed by GitHub
parent 4efc84b7f1
commit 33770df77d
38 changed files with 772 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
# cargo tree
> 显示依赖图的树形可视化。
> 注意:在树中,标有 `(*)` 的包的依赖已在图的其他位置显示过,因此不会重复显示。
> 更多信息:<https://doc.rust-lang.org/cargo/commands/cargo-tree.html>.
- 显示当前项目的依赖树:
`cargo tree`
- 仅显示到指定深度的依赖 (例如,当 `n` 为 1 时,仅显示直接依赖)
`cargo tree --depth {{n}}`
- 在树中不显示给定的包(及其依赖)
`cargo tree --prune {{package_spec}}`
- 显示重复依赖的所有出现:
`cargo tree --no-dedupe`
- 仅显示 normal/build/dev 依赖:
`cargo tree --edges {{normal|build|dev}}`