# Module cargo::ops::registry

source ·
Expand description

Operations that interact with the registry web API.

## Re-exports

- `pub use self::login::registry_login;`
- `pub use self::logout::registry_logout;`
- `pub use self::owner::modify_owners;`
- `pub use self::owner::OwnersOptions;`
- `pub use self::publish::publish;`
- `pub use self::publish::PublishOpts;`
- `pub use self::search::search;`
- `pub use self::yank::yank;`

## Modules

- login 🔒
  Interacts with the registry login API.
- logout 🔒
  Interacts with the registry logout.
- owner 🔒
  Interacts with the registry owners API.
- publish 🔒
  Interacts with the registry publish API.
- search 🔒
  Interacts with the registry search API.
- yank 🔒
  Interacts with the registry yank and unyank API.

## Structs

- RegistrySourceIds 🔒

## Enums

- RegistryCredentialConfig
  Registry settings loaded from config files.
- RegistryOrIndex
  Represents either `--registry` or `--index` argument, which is mutually exclusive.

## Functions

- get_source_id 🔒
  Gets the SourceId for an index or registry setting.
- registry 🔒
  Returns the `Registry` and `Source` based on command-line and config settings.