Function cargo::ops::common_for_install_and_uninstall::select_pkg
source ยท pub fn select_pkg<T, F>(
source: &mut T,
dep: Option<Dependency>,
list_all: F,
gctx: &GlobalContext,
current_rust_version: Option<&PartialVersion>,
) -> CargoResult<Package>