Checks for update if more than 24h have passed since the last check (Customizable),
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 / Non-blocking :
// check on crates.io
check_cratesIO;
// check on github releases
check_github;
Single-threaded / Blocking
.interval //Optional, default is 24h
.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 check_github, except the interval is changed to 1 week
use ;
use ;