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,17 +1,17 @@
# cargo yank
> 从索引中移除发布的包。应该只在意外发布了一个严重错误的包时使用
> 注意:这不会删除任何数据。包在被撤回后仍然存在,只是阻止新项目使用它。
> 更多信息:<https://doc.rust-lang.org/cargo/commands/cargo-yank.html>.
> 从索引中移除已推送的 crate。只有在意外发布了严重损坏的 crate 时才应使用此功能
> 注意:这不会删除任何数据。yank 之后crate 仍然存在 - 这只是阻止新项目使用它。
> 更多信息:<https://doc.rust-lang.org/cargo/commands/cargo-yank.html>
- 撤回指定版本的包
- yank 指定版本的 crate
`cargo yank {{包名}}@{{版本号}}`
`cargo yank {{crate}}@{{version}}`
- 撤销撤回 (即允许再次下载)
- 撤销 yank即允许再次下载
`cargo yank --undo {{包名}}@{{版本号}}`
`cargo yank --undo {{crate}}@{{version}}`
- 使用指定的注册表 (注册表名称可以在配置中定义 - 默认 <https//crates.io>)
- 使用指定的注册表注册表名称可以在配置中定义 - 默认 <https://crates.io>
`cargo yank --registry {{名称}} {{包名}}@{{版本号}}`
`cargo yank --registry {{name}} {{crate}}@{{version}}`