check-latest 1.0.2

Check if your rust executable is the latest available version
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[tokio::main]
async fn main() {
    if let Ok(Some(version)) = check_latest::check_max_async!().await {
        println!("A new version has been released: {}", version);
    }
    if let Ok(Some(version)) = check_latest::check_minor_async!().await {
        println!("A new minor version has been released: {}", version);
    }
    if let Ok(Some(version)) = check_latest::check_patch_async!().await {
        println!("A new patch has been released: {}", version);
    }
}