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,
config: &Config
) -> CargoResult<Package>where
T: Source,
F: FnMut(&mut T) -> CargoResult<Vec<Package>>,