cargo::core::resolver::dep_cache

Function resolve_features

Source
pub fn resolve_features<'b>(
    parent: Option<PackageId>,
    s: &'b Summary,
    opts: &'b ResolveOpts,
) -> ActivateResult<(HashSet<InternedString>, Vec<(Dependency, Rc<BTreeSet<InternedString>>)>)>
Expand description

Returns the features we ended up using and all dependencies and the features we want from each of them.