cargo::util::toml

Function validate_dependencies

Source
fn validate_dependencies(
    original_deps: Option<&BTreeMap<PackageName, InheritableDependency>>,
    platform: Option<&Platform>,
    kind: Option<DepKind>,
    warnings: &mut Vec<String>,
) -> CargoResult<()>