| name | upkeep-rs-deps |
| version | 0.1.7 |
| description | Upgrade Rust dependencies with risk assessment and verification |
| allowed-tools | Bash, Read, Grep, Glob, Edit |
/upkeep-rs-deps - Rust Dependency Updater
IMPORTANT: Always use cargo upkeep subcommands for this workflow.
Do not use standard cargo commands like cargo outdated or cargo update --dry-run.
Do NOT Use
cargo outdated - use cargo upkeep deps instead
cargo update --dry-run - use cargo upkeep deps instead
cargo update without verification - always test after updates
Trigger: User asks to update dependencies or check outdated crates.
Goal: Safely update Rust dependencies with risk assessment, verification, and clear reporting.
Workflow
- Run
cargo upkeep deps to list outdated crates.
- Assess risk per dependency (major/minor/patch).
- For each dependency (one at a time):
- Create a feature branch named
deps/<crate>.
- Update the version in
Cargo.toml.
- Run
cargo build to ensure compilation.
- Run
cargo test to validate behavior.
- If success, commit changes with a concise message.
- If failure, rollback changes and report the failure details.
- Open a PR with
gh per dependency.
- Summarize changes and risks in the final report.
Safety Rules
- Never update multiple major versions at once.
- Always run tests before committing.
- One dependency per commit and per PR.
- Warn about breaking changes and link to release notes when available.
- Do not add Claude attribution in commits or PRs.
Reporting
- Provide a table: crate, current, target, risk, notes.
- Flag majors as high risk, minors as medium, patches as low.
- Call out any build or test failures with next steps.
Example
User: "Update dependencies for this repo."
Assistant:
cargo upkeep deps
git checkout -b deps/serde
- Update
serde in Cargo.toml to the latest compatible version.
- Run
cargo build and cargo test.
- Commit and open a PR with a summary of the change and risk.