cargo::util::toml

Function inner_dependency_inherit_with

source
fn inner_dependency_inherit_with<'a>(
    pkg_dep: TomlInheritedDependency,
    name: &str,
    inherit: &dyn Fn() -> CargoResult<&'a InheritableFields>,
    package_root: &Path,
    edition: Edition,
    warnings: &mut Vec<String>,
) -> CargoResult<TomlDependency>