Automic VaultAutomic Vault

brew

cargo-edit mit Homebrew, apk, Nix, pacman installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für cargo-edit in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install cargo-edit

local Homebrew formula metadata

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add cargo-edit

Alpine Linux edge package indexes · cargo-edit · Quelle: dl-cdn.alpinelinux.org

Nixverifiziert · 92%
nix profile install nixpkgs#cargo-edit

nixpkgs package indexes · pkgs/by-name/ca/cargo-edit/package.nix · Quelle: api.github.com

Arch Linux pacmanverifiziert · 92%
sudo pacman -S cargo-edit

Arch Linux sync databases · cargo-edit · Quelle: geo.mirror.pkgbuild.com

Überblick

Paketzusammenfassung

Utility for managing cargo dependencies from the command-line

Befehle und Aliase

  • cargo-add
  • cargo-rm
  • cargo-set-version
  • cargo-upgrade

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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`.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 2015: killercup/cargo-edit GitHub repository created.
  • 2015: cargo-edit crate first published on crates.io.
  • 2022: Cargo 1.62 integrated `cargo add`, according to the cargo-edit README.
  • 2022: Cargo 1.66 integrated `cargo rm`, according to the cargo-edit README.
  • 2026: crates.io metadata shows ongoing releases in the 0.13.x line.

Related projects

  • Cargo is the package manager extended by cargo-edit and later absorbed some of its commands.
  • cargo-upgrade and cargo-set-version are the remaining command families documented by the README.
  • The README points to related Cargo extension commands including cargo-feature and cargo-override.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Build-Metadaten listen 2 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
cargo-addcliglobales Executable
cargo-rmcliglobales Executable
cargo-set-versioncliglobales Executable
cargo-upgradecliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-24
Manager-Version0.13.13
Manager aktualisiert2026-07-15
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv0.13.13

https://github.com/killercup/cargo-edit

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:cargo-edit
Version0.13.13
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/cargo-edit
Homepagehttps://killercup.github.io/cargo-edit/
Repositoryhttps://github.com/killercup/cargo-edit
Upstream-Dokumentationhttps://killercup.github.io/cargo-edit
LizenzMIT
Quellarchivhttps://github.com/killercup/cargo-edit/archive/refs/tags/v0.13.13.tar.gz
Zuletzt aktualisiert2026-07-15T20:49:45Z
Pulseupdated
Build-Abhängigkeitenpkgconf, rust
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecargo-edit
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

cargo-edit

nix profile install nixpkgs#cargo-edit
  • normalized package name match
  • Abgeglichen nach: Cargo Edit
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ca/cargo-edit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

cargo-edit 0.13.10-r0

Managing cargo dependencies from the command line

https://github.com/killercup/cargo-edit

sudo apk add cargo-edit
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: cargo-edit
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Cargo Edit
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-edit from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

cargo-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-doc
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: cargo-edit
  • normalized package name match
  • Abgeglichen nach: Cargo Edit
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-edit-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

cargo-edit 0.13.11-1

Managing cargo dependencies from the command line

https://github.com/killercup/cargo-edit/releases

sudo pacman -S cargo-edit
  • License: MIT AND Apache-2.0
  • Architecture: x86_64
  • 3 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Cargo Edit
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cargo-edit from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment