macOS
brew install cargo-editlocal Homebrew formula metadata
brew
cargo-edit のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install cargo-editlocal Homebrew formula metadata
sudo apk add cargo-editAlpine Linux edge package indexes · cargo-edit · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#cargo-editnixpkgs package indexes · pkgs/by-name/ca/cargo-edit/package.nix · ソース: api.github.com
sudo pacman -S cargo-editArch Linux sync databases · cargo-edit · ソース: geo.mirror.pkgbuild.com
概要
Utility for managing cargo dependencies from the command-line
履歴
cargo-edit is one of the historically important Cargo extension suites: it brought command-line editing of Cargo.toml dependencies, removals, upgrades, and package versions into common Rust workflows before parts of that behavior were absorbed by Cargo itself.
The GitHub repository was created in June 2015, early in Rust's post-1.0 package ecosystem, and the crate was published on crates.io in November 2015. Its README describes a tool that extends Cargo with commands for adding, removing, upgrading, and versioning dependencies by modifying Cargo.toml.
cargo-edit originally shipped commands including `cargo add`, `cargo rm`, `cargo upgrade`, and `cargo set-version`. The README now records an important handoff: `cargo add` became integrated into Cargo as of Rust 1.62, and `cargo rm` as of Rust 1.66, while cargo-edit continues to provide commands such as `cargo upgrade` and `cargo set-version`.
cargo-edit became a standard recommendation because Cargo itself long lacked ergonomic subcommands for editing dependency requirements in manifests. Its presence in Homebrew, Nix, Arch Linux, and Alpine packaging, plus millions of crates.io downloads, reflects broad adoption by Rust developers and CI images.
The upstreaming of `cargo add` and `cargo rm` into Cargo is the strongest adoption signal: workflows popularized by cargo-edit influenced the default Rust toolchain instead of remaining only third-party extensions.
Historically, users installed cargo-edit to run commands such as `cargo add serde`, `cargo rm old-crate`, `cargo upgrade`, and `cargo set-version 1.0.0`. Modern users mostly rely on Cargo's built-in add/remove commands and keep cargo-edit for dependency requirement upgrades and manifest version changes.
`cargo upgrade` changes version requirements in Cargo.toml, while `cargo update` only updates versions selected in Cargo.lock. That distinction is central to why cargo-edit remains useful for package-maintenance work.
cargo-edit is package-nerd canon because it sits at the exact boundary between package-manager UX and manifest syntax. It made Rust dependency declarations feel more like `npm install` or `go get` workflows while still editing Cargo.toml explicitly.
Its history also shows how successful extension commands can become part of the base package manager once the workflow proves itself.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
cargo-add | cli | グローバル実行可能ファイル | |
cargo-rm | cli | グローバル実行可能ファイル | |
cargo-set-version | cli | グローバル実行可能ファイル | |
cargo-upgrade | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/killercup/cargo-edit
インストールメタデータ
| パッケージキー | brew:cargo-edit |
|---|---|
| バージョン | 0.13.13 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/cargo-edit |
| ホームページ | https://killercup.github.io/cargo-edit/ |
| リポジトリ | https://github.com/killercup/cargo-edit |
| 上流ドキュメント | https://killercup.github.io/cargo-edit |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/killercup/cargo-edit/archive/refs/tags/v0.13.13.tar.gz |
| 最終更新 | 2026-07-15T20:49:45Z |
| Pulse | updated |
| ビルド依存関係 | pkgconf, rust |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cargo-edit |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
cargo-edit
nix profile install nixpkgs#cargo-editcargo-edit 0.13.10-r0
Managing cargo dependencies from the command line
https://github.com/killercup/cargo-edit
sudo apk add cargo-editcargo-edit-doc 0.13.10-r0
Managing cargo dependencies from the command line (documentation)
https://github.com/killercup/cargo-edit
sudo apk add cargo-edit-doccargo-edit 0.13.11-1
Managing cargo dependencies from the command line
https://github.com/killercup/cargo-edit/releases
sudo pacman -S cargo-editソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.