Module check_latest::async
source · Expand description
Check for version updates with asynchronous requests.
Enabled with the async
feature
use check_latest::*;
if let Ok(Some(version)) = check_max_async!().await {
println!("We've released a new version: {}!", version);
}