Skip to main content

check_latest

Function check_latest 

Source
pub async fn check_latest(current: &str) -> Option<String>
Expand description

Fetch latest.json and, if newer than current, return the advertised version. Short timeout keeps startup snappy; any error (network, HTTP, parse) returns None silently.