Checks for update on program launch if more than 24h have passed since the last check, then pops up a notification if a new version was found 📢
supports crates.io and github releases
Installation
Install tiny_update_notifier using Cargo
Usage
Multi-threaded / Concurrent / Non-blocking / Asynchronous :
// check on crates.io
check_cratesIO;
// check on github releases
check_github;
Single-threaded / Nonparallel / blocking / Synchronous :
.run;
new
Examples
// Spawns a thread to check for updates on Crates.io and notify user if there is a new version available.
use check_cratesIO;
// Spawns a thread to check for updates on GitHub Releases and notify user if there is a new version available.
use check_github;
// equivalent to the code above
use thread;
use ;