updt-0.1.1 is not a library.
updt
A cross-platform system update helper written in Rust.
updt checks upgrade candidates and lets you choose what to upgrade interactively.
It mirrors the behavior of the original script, but the workflow is implemented in Rust.
Supported update targets
- Homebrew (macOS)
- npm global packages
- cargo installed crates (via
cargo-install-update) - rustup toolchains
- paru AUR packages (Arch Linux)
- flatpak apps (Arch Linux profile)
- pacman packages (Arch Linux)
System policy
updt enables targets by OS profile.
- macOS: Homebrew, npm, cargo, rustup
- Arch Linux: npm, cargo, rustup, paru, pacman, flatpak
- other systems: all targets disabled by policy
Install
Run
The program does 3 stages.
- Check upgrade candidates.
- Ask for per-target confirmation.
- Run upgrades for selected targets.
Notes
cargochecks requirecargo-install-updateinPATH.pacmanupgrade usessudo pacman -Syu.updtcalls existing package manager commands and forwards their output.