Function cargo::util::toml::validate_dependencies
source ยท fn validate_dependencies(
original_deps: Option<&BTreeMap<PackageName, InheritableDependency>>,
platform: Option<&Platform>,
kind: Option<DepKind>,
warnings: &mut Vec<String>,
) -> CargoResult<()>