Skip to main content

is_outdated

Function is_outdated 

Source
pub fn is_outdated(req: &str, latest: &str) -> bool
Expand description

Whether latest is newer than the version requirement req allows, e.g. ^2.0 with the latest version 3.1. A requirement that is newer than the latest version, or that cannot be parsed, is not outdated.