Skip to content

Stabilize cargo logout #11910

@ehuss

Description

@ehuss

This is a proposal to stabilize the cargo logout command.

This command is a fairly straightforward companion to cargo login. It will remove the token for a registry from ~/.cargo/credentials.toml, or from a credential store with -Zcredential-process. This was added as part of -Zcredential-process because otherwise it would be quite awkward to try to remove a credential. However, it also has utility for the traditional credentials.toml file in the same way that cargo login is helpful. A user can manually edit the file in both cases, but providing a CLI command should be more convenient.

Other tools have similar functionality:

(and probably many others)

I do not know of any concerns about the design or implementation of the command. Since I doubt we will discover anything new by keeping it unstable, I'd like to propose to stabilize it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions