cargo_util_schemas::restricted_names

Function validate_profile_name

source
pub(crate) fn validate_profile_name(
    name: &str,
) -> Result<(), NameValidationError>
Expand description

Validate dir-names and profile names according to RFC 2678.