cargo::ops::registry::publish

Function wait_for_any_publish_confirmation

Source
fn wait_for_any_publish_confirmation(
    gctx: &GlobalContext,
    registry_src: SourceId,
    pkgs: &BTreeSet<PackageId>,
    timeout: Duration,
) -> CargoResult<BTreeSet<PackageId>>
Expand description

Poll the registry for any packages that are ready for use.

Returns the subset of pkgs that are ready for use. This will be an empty set if we timed out before confirming anything.