Tiny Update Notifier 🔔

Version License: MIT Maintenance

Tiny update notifier utility for rust cli programs

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 📢

Screenshots

App Screenshot

Installation

Install tinyupdatenotifier using Cargo

bash cd my-project cargo add tiny_update_notifier

Usage

rust tiny_updater_notifier::Notifier::new().run(pkg_version, pkg_name, pkg_repo_url)

Example

```rust,norun use tinyupdater_notifier::Notifier;

fn main() -> std::io::Result<()> { Notifier::new( env!("CARGOPKGVERSION"), env!("CARGOPKGNAME"), env!("CARGOPKGREPOSITORY"), ) .run();

Ok(())

} ```