cargo::ops::common_for_install_and_uninstall

Function 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>