Skip to main content

Module update

Module update 

Source
Expand description

Self-update against GitHub Releases (same assets as install.sh).

Structs§

ReleaseInfo

Enums§

CheckResult
Result of a check-update invocation.

Functions§

check_update
cmp_version
Compare dotted numeric versions (1.2.3). Returns Ordering.
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.