pub fn outdated(
installed: &[ProfileMod],
index: &PackageIndex,
) -> Vec<OutdatedPackage>Expand description
Every installed package whose latest version in index is newer than the
installed one, in installed order.
“Latest” is the most recently published version, the one
Package::latest_version and the
resolver choose, so an update installs what this reports. “Newer” follows
the SemVer ordering, so a republished older version is never an update.
Packages absent from index are never outdated.