Registry / utility / update-informer

update-informer

JSON →
library1.3.0rscratesunverified

Easily implement update checks for your application to notify users of new versions.

# Cargo.toml [dependencies] update-informer = "1.3.0"
INSTALL
IMPORT
SIG · UPDATE-INFORMER
U
update-informer
utilityrustv1.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

UpdateInformer
use update_informer::UpdateInformer;

Checks for a new version of a crate from a GitHub repository.

use update_informer::{UpdateInformer, Check}; fn main() { let informer = UpdateInformer::new("owner", "repo", "0.1.0"); if let Ok(Some(version)) = informer.check_version() { println!("New version available: {}", version); } }
Debug
Known issues
gotchaRequires network access to check for updates; may block if not handled asynchronously.
fix
Run the check in a separate thread or use async version if available.
affects: >=1.0.0
Upgrade
Version history
1.3.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
update-informer — cargo add update-informer · libregistry