Function cargo::ops::cargo_add::get_latest_dependency
source · fn get_latest_dependency(
spec: &Package,
dependency: &Dependency,
_flag_allow_prerelease: bool,
honor_rust_version: bool,
config: &Config,
registry: &mut PackageRegistry<'_>
) -> CargoResult<Dependency>