Skip to main content

Module updates

Module updates 

Source
Expand description

Lightweight update discovery and update commands.

Startup checks are deliberately best-effort: callers decide when to run them, each registry request uses a short timeout, and cached values are retained only as a fallback for temporary registry failures.

Structs§

UpdateNotice
UpdateReport
UpdateWarning

Functions§

check_rpi_startup
Check the rpi release and every installed Rust cdylib extension.
check_startup
Best-effort startup check for the rpi release and installed Rust extensions.
is_newer
Compare complete semantic versions, including prerelease precedence.
print_startup_notices
run_self_update
Update the installed rpi CLI through its documented crates.io install path. Windows stages first because a running executable cannot replace itself; other platforms retain Cargo’s direct replacement behavior.