Module registry

Source
Expand description

Operations that interact with the registry web API.

Re-exportsยง

pub use self::info::info;
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ยง

info ๐Ÿ”’
Implementation of cargo info.
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ยง

gen_replacement_error ๐Ÿ”’
get_initial_source_id ๐Ÿ”’
get_initial_source_id_from_registry_or_index ๐Ÿ”’
get_replacement_source_ids ๐Ÿ”’
get_source_id ๐Ÿ”’
Gets the SourceId for an index or registry setting.
get_source_id_with_package_id ๐Ÿ”’
Very similar to get_source_id, but is used when the package_id is known.
infer_registry ๐Ÿ”’
If this set of packages has an unambiguous publish registry, find it.
is_replacement_for_package_source ๐Ÿ”’
registry ๐Ÿ”’
Returns the Registry and Source based on command-line and config settings.