cargo::util::toml

Function 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.