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§
Enums§
- Registry
Credential Config - Registry settings loaded from config files.
- Registry
OrIndex - 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 thepackage_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
andSource
based on command-line and config settings.