CARGO-OWNER(1) | General Commands Manual | CARGO-OWNER(1) |
cargo-owner - Manage the owners of a crate on the registry
cargo owner [options] --add login
[crate]
cargo owner [options] --remove login
[crate]
cargo owner [options] --list [crate]
This command will modify the owners for a crate on the registry. Owners of a crate can upload new versions and yank old versions. Non-team owners can also modify the set of owners, so take care!
This command requires you to be authenticated with either the --token option or using cargo-login(1).
If the crate name is not specified, it will use the package name from the current directory.
See the reference <https://doc.rust-lang.org/cargo/reference/publishing.html#cargo-owner> for more information about owners and publishing.
-a, --add login...
-r, --remove login...
-l, --list
--token token
Cargo config <https://doc.rust-lang.org/cargo/reference/config.html> environment variables can be used to override the tokens stored in the credentials file. The token for crates.io may be specified with the CARGO_REGISTRY_TOKEN environment variable. Tokens for other registries may be specified with environment variables of the form CARGO_REGISTRIES_NAME_TOKEN where NAME is the name of the registry in all capital letters.
--index index
--registry registry
-v, --verbose
-q, --quiet
--color when
May also be specified with the term.color config value <https://doc.rust-lang.org/cargo/reference/config.html>.
+toolchain
-h, --help
-Z flag
See the reference <https://doc.rust-lang.org/cargo/reference/environment-variables.html> for details on environment variables that Cargo reads.
cargo owner --list foo
cargo owner --add username foo
cargo owner --remove username foo