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 ๐
Structsยง
- Registry
Source ๐Ids
Enumsยง
- Registry settings loaded from config files.
- Represents either
--registry
or--index
argument, which is mutually exclusive.
Functionsยง
- get_
source_ ๐id Gets theSourceId
for an index or registry setting. - 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. - registry ๐Returns the
Registry
andSource
based on command-line and config settings.