[][src]Module check_latest::async

Check for version updates with asynchronous requests. Enabled with the async feature

use check_latest::*;

if let Ok(Some(version)) = max_version_async!().await {
    println!("We've released a new version: {}!", version);
}

Functions

get_max_minor_versionDeprecated

Gets the largest minor version available with the same major version.

get_max_patchDeprecated

Gets the largest patch available with the same major and minor version.

get_max_versionDeprecated

NOTE You probably want to use max_version_async!

get_newest_versionDeprecated

NOTE You probably want to use newest_version_async!

get_versionsDeprecated

NOTE You probably want to use versions_async!