Function cargo_geiger::build_graph
source · pub fn build_graph<'a>(
resolve: &'a Resolve,
packages: &'a PackageSet<'_>,
root: &'a PackageId,
target: Option<&str>,
cfgs: Option<&[Cfg]>
) -> CargoResult<Graph<'a>>
Expand description
Almost unmodified compared to the original in cargo-tree, should be fairly simple to move this and the dependency graph structure out to a library. TODO: Move this to a module to begin with.