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 publish
> 将包上传到注册表。
> 一个包上传到注册表。
> 注意:在发布包之前,您必须使用 `cargo login` 添加身份验证令牌。
> 更多信息:<https://doc.rust-lang.org/cargo/commands/cargo-publish.html>.
> 更多信息:<https://doc.rust-lang.org/cargo/commands/cargo-publish.html>
- 执行检查,创建一个 `.crate` 文件并将其上传到注册表:
`cargo publish`
- 执行检查,创建一个 `.crate` 文件但不上传它 (相当于 `cargo package`)
- 执行检查,创建一个 `.crate` 文件但不上传相当于 `cargo package`
`cargo publish --dry-run`
- 使用指定的注册表 (注册表名称可以在配置中定义默认 <https://crates.io>)
- 使用指定的注册表注册表名称可以在配置中定义 - 默认 <https://crates.io>
`cargo publish --registry {{名称}}`
`cargo publish --registry {{name}}`