Skip to content

Function signed::compare_versions

zaun_community_protocol::signed::compare_versions · Function

pub fn compare_versions(a: &str, b: &str) -> Option<Ordering>

Semantic Versioning precedence of two versions; None when either is invalid. An update must be Ordering::Greater than the installed version.

Full rustdoc page