Memo

检查并更新 Cargo 依赖

检查并更新 Cargo 依赖

使用 cargo-edit 实现。

安装 cargo-edit

cargo install cargo-edit

检查是否有更新

cargo upgrade -i --dry-run

更新

cargo upgrade -i