update-notifier 0.1.9

Library to notify you if there are any newer versions available on the registry
Documentation
use update_notifier::check_version;

fn main() {
    // You can use .ok() if you want to ignore the error and let check_version fail silently without affecting your CLI
    check_version(
        env!("CARGO_PKG_NAME"),
        env!("CARGO_PKG_VERSION"),
        std::time::Duration::from_secs(0),
    )
    .ok();
    println!("Hello world");
}