rust
February 7, 2022
Update-informer: a highly customizable Rust library for CLI apps
update-informer
allows you to automatically check for new versions on resources like Crates.io and GitHub. Crates.io is the Rust community's crate registry, the main resource where all projects, libraries, etc. are stored.
When you add the update-informer
library in your CLI application, which runs in the console, it periodically (for example, once a day) checks to see if a new version has been released. If one is out, then update-informer
sends a message to the console like, “A new release is available, update with this link.”