cargo::core::compiler::future_incompat

Function get_updates

Source
fn get_updates(
    ws: &Workspace<'_>,
    package_ids: &BTreeSet<PackageId>,
) -> Option<String>
Expand description

Returns a user-readable message explaining which of the packages in package_ids have updates available. This is best-effort - if an error occurs, None will be returned.