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.