2023-10-31 08:29:03 +01: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-07-20 18:41:22 +03:00
|
|
|
`cargo owner {{[-a|--add]}} {{username|github:org_name:team_name}} {{crate}}`
|
2023-10-31 08:29:03 +01:00
|
|
|
|
|
|
|
- Remove the given user or team as an owner:
|
|
|
|
|
2025-07-20 18:41:22 +03:00
|
|
|
`cargo owner {{[-r|--remove]}} {{username|github:org_name:team_name}} {{crate}}`
|
2023-10-31 08:29:03 +01:00
|
|
|
|
|
|
|
- List owners of a crate:
|
|
|
|
|
2025-07-20 18:41:22 +03:00
|
|
|
`cargo owner {{[-l|--list]}} {{crate}}`
|
2023-10-31 08:29:03 +01:00
|
|
|
|
2024-01-25 02:29:16 -03:00
|
|
|
- Use the specified registry (registry names can be defined in the configuration - the default is <https://crates.io>):
|
2023-10-31 08:29:03 +01:00
|
|
|
|
|
|
|
`cargo owner --registry {{name}}`
|