cargo-*: add page; cargo-logout: update page (#11337)

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
This commit is contained in:
Lena
2023-10-31 08:29:03 +01:00
committed by GitHub
parent e564962930
commit 02c7e38f8b
6 changed files with 82 additions and 1 deletions

View File

@@ -1,9 +1,10 @@
# cargo logout
> Remove an API token from the registry locally.
> The token is used to authenticate to a package registry. You can add it back using `cargo login`.
> More information: <https://doc.rust-lang.org/cargo/commands/cargo-logout.html>.
- Remove the API token from the local credential storage:
- Remove an API token from the local credential storage (located in `$CARGO_HOME/credentials.toml`):
`cargo logout`