[−][src]Macro check_latest::versions_async
Asynchronous version of versions!
. View the documentation of versions!
for full usage.
Example
use check_latest::versions_async; use semver::Version; let current_version = Version::parse("1.0.0").unwrap(); if let Ok(versions) = versions_async!().await { if versions.max_version > current_version { println!("Go get a new version!"); } }