Function cargo::ops::resolve_pkg [] [src]

pub fn resolve_pkg(registry: &mut PackageRegistry, package: &Package, config: &Config) -> CargoResult<Resolve>

Resolve all dependencies for the specified package using the previous lockfile as a guide if present.

This function will also write the result of resolution as a new lockfile.