Function cargo::ops::common_for_install_and_uninstall::select_dep_pkg
source · pub fn select_dep_pkg<T>(
source: &mut T,
dep: Dependency,
config: &Config,
needs_update: bool
) -> CargoResult<Package>where
T: Source,
Expand description
Gets a Package based on command-line requirements.