Expand description
Background version check — queries GitHub releases for newer versions.
Checks are non-blocking, cached for 24 hours, and configurable via
check_for_updates in settings.json.
Enums§
- Version
Check Result - Result of a version check.
Constants§
- CURRENT_
VERSION - Current crate version (from Cargo.toml).
Functions§
- check_
cached - Check the latest version from cache or return None if cache is stale/missing.
- is_
newer - Compare two semver-like version strings (e.g. “0.1.0” vs “0.2.0”).
- parse_
github_ release_ version - Parse the latest version from a GitHub releases API JSON response.
- read_
cached_ version - Read a cached version if the cache is fresh (within TTL).
- write_
cached_ version - Write a version to the cache file.