Skip to main content

check_for_update

Function check_for_update 

Source
pub async fn check_for_update()
Expand description

Best-effort, throttled “new version available” check against crates.io.

It never fails the caller and never blocks for long: the network is queried at most once per [CHECK_INTERVAL_SECS] (the result is cached on disk), and a short notice is printed to stderr whenever the cached latest version is newer than the running one. Set ROBIN_NO_UPDATE_CHECK to disable it.