# Function cargo::util::toml::resolve_dependencies

source ·

    fn resolve_dependencies<'a>(
        gctx: &GlobalContext,
        edition: Edition,
        features: &Features,
        orig_deps: Option<&BTreeMap<PackageName, InheritableDependency>>,
        activated_opt_deps: &HashSet<&str>,
        kind: Option<DepKind>,
        inherit: &dyn Fn() -> CargoResult<&'a InheritableFields>,
        package_root: &Path,
        warnings: &mut Vec<String>,
    ) -> CargoResult<Option<BTreeMap<PackageName, InheritableDependency>>>