5 个版本

0.9.3 2024年7月7日
0.9.2 2024年6月22日
0.9.1 2024年6月9日
0.9.0 2024年5月10日
0.8.0 2024年5月5日

#131Cargo 插件

Download history 123/week @ 2024-05-02 186/week @ 2024-05-09 4/week @ 2024-05-16 2/week @ 2024-05-23 195/week @ 2024-06-06 12/week @ 2024-06-13 161/week @ 2024-06-20 6/week @ 2024-06-27 114/week @ 2024-07-04 21/week @ 2024-07-11

每月411次下载

BSD-3-Clause

15KB
378 代码行

cvefixer

修复所有已修复的漏洞!这个 Rust 应用更新您的 Linux 计算机上许多小应用程序,包括 Rust 库、Flatpak 软件包、Bun 等。

要求

Rust!

安装

cargo install cvefixer

用法

Usage: cvefixer [COMMAND]

Commands:
  all      Run all update tasks
  bun      Update Bun
  deno     Update Deno
  flatpak  Update Flatpak packages
  hooks    Run configured hook scripts
  os       Update OS packages (supports RHEL-like, Gentoo, Ubuntu)
  rust     Update Rust and Cargo packages
  ruby     Update Ruby and Gems
  test     Test command for development
  help     Print this message or the help of the given subcommand(s)

配置

您可以为 cvefixer allcvefixer hooks 定义要运行的钩子脚本,如下所示在 JSON 配置文件中

{
  "hooks": [
    "/home/janie/.local/bin/update_git_repos.sh"
  ]
}

cvefixer 将按照以下位置,以随机顺序查找配置文件

  • $HOME/.config/cvefixer/cvefixer.json
  • $HOME/.config/cvefixer/config.json
  • $HOME/.config/cvefixer.json
  • $HOME/cvefixer.json
  • $HOME/.cvefixer.json

依赖

~7–18MB
~252K SLoC