Files
tldr/pages.zh/common/cargo-logout.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

14 lines
492 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# cargo logout
> 从本地注册表中删除 API 令牌。
> 该令牌用于对包注册表进行身份验证。您可以使用 `cargo login` 将其添加回来。
> 更多信息:<https://doc.rust-lang.org/cargo/commands/cargo-logout.html>.
- 从本地凭据存储中 (位于 `$CARGO_HOME/credentials.toml`) 移除 API 令牌:
`cargo logout`
- 使用指定的注册表 (注册表名称可以在配置中定义,默认为 <https://crates.io>)
`cargo logout --registry {{名称}}`