[][src]Module check_latest::blocking

Check for version updates with blocking requests. Enabled with the blocking feature

use check_latest::*;

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

Functions

get_max_minor_version

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

get_max_patch

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

get_max_version

NOTE You probably want to use max_version!

get_newest_version

NOTE You probably want to use newest_version!

get_versions

NOTE You probably want to use versions!