cargo::ops::registry::publish

Function validate_registry

Source
fn validate_registry(
    pkgs: &[&Package],
    reg_or_index: Option<&RegistryOrIndex>,
) -> CargoResult<()>