cargo_util_schemas::restricted_names

Function validate_package_name

Source
pub(crate) fn validate_package_name(
    name: &str,
) -> Result<(), NameValidationError>