Skip to main content

Module registry

Module registry 

Source
Expand description

Operations that interact with the registry web API.

Re-exportsยง

pub use self::cargo_info::info;
pub use self::cargo_login::registry_login;
pub use self::cargo_logout::registry_logout;
pub use self::cargo_owner::OwnersOptions;
pub use self::cargo_owner::modify_owners;
pub use self::cargo_publish::PublishOpts;
pub use self::cargo_publish::publish;
pub use self::cargo_search::search;
pub use self::cargo_yank::yank;

Modulesยง

cargo_info ๐Ÿ”’
Implementation of cargo info.
cargo_login ๐Ÿ”’
Interacts with the registry login API.
cargo_logout ๐Ÿ”’
Interacts with the registry logout.
cargo_owner ๐Ÿ”’
Interacts with the registry owners API.
cargo_publish ๐Ÿ”’
Interacts with the registry publish API.
cargo_search ๐Ÿ”’
Interacts with the registry search API.
cargo_yank ๐Ÿ”’
Interacts with the registry yank and unyank API.

Structsยง

RegistryClient ๐Ÿ”’
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.