2025-03-14 21:59:59 -06:00
|
|
|
# cargo owner
|
|
|
|
|
|
|
|
|
|
> Manage the owners of a crate on the registry.
|
|
|
|
|
> More information: <https://doc.rust-lang.org/cargo/commands/cargo-owner.html>.
|
|
|
|
|
|
|
|
|
|
- Invite the given user or team as an owner:
|
|
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
`cargo owner {{[-a|--add]}} {{username|github:org_name:team_name}} {{crate}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Remove the given user or team as an owner:
|
|
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
`cargo owner {{[-r|--remove]}} {{username|github:org_name:team_name}} {{crate}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- List owners of a crate:
|
|
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
`cargo owner {{[-l|--list]}} {{crate}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Use the specified registry (registry names can be defined in the configuration - the default is <https://crates.io>):
|
|
|
|
|
|
|
|
|
|
`cargo owner --registry {{name}}`
|