[][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_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

Compares the current crate version to the maximum version available on Crates.io.

get_newest_versionDeprecated

NOTE You probably want to use newest_version!

get_versionsDeprecated

NOTE You probably want to use versions!