fn validate_feature_name(
    config: &Config,
    pkg_id: PackageId,
    name: &str
) -> CargoResult<()>