Function cargo::util::toml::validate_profile
source ยท pub fn validate_profile(
root: &TomlProfile,
name: &str,
cli_unstable: &CliUnstable,
features: &Features,
warnings: &mut Vec<String>,
) -> CargoResult<()>
Expand description
Checks stytax validity and unstable feature gate for a given profile.