Expand description
Self-update against GitHub Releases (same assets as install.sh).
Structs§
Enums§
- Check
Result - Result of a check-update invocation.
Functions§
- check_
update - cmp_
version - Compare dotted numeric versions (
1.2.3). ReturnsOrdering. - current_
version - Current package version from Cargo.
- host_
target - Target triple for the running binary.
- latest_
release - Fetch latest stable release tag.
- perform_
update - Download latest release and replace the running binary.
- print_
check_ update - Print check-update result; exit code 0 if up to date, 1 if behind, 2 on error.