Automic VaultAutomic Vault

brew

cargo-depgraph mit Homebrew, Nix, pacman installieren

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

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install cargo-depgraph

local Homebrew formula metadata

Linux

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

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

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

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

Überblick

Paketzusammenfassung

Creates dependency graphs for cargo projects

Befehle und Aliase

  • cargo-depgraph

Verlauf

Projektgeschichte und Nutzung

cargo-depgraph is a Cargo subcommand for turning a Rust package's Cargo metadata into Graphviz dependency graphs. It fills the small but durable need to see feature, target, dev, build, optional, and transitive dependency structure as an image or DOT graph.

Projektgeschichte

The crate was published on crates.io in July 2020 with the description that it creates dependency graphs for Cargo projects using cargo metadata and Graphviz. Its official repository metadata has since appeared under jplatte's Codeberg account, while crates.io still records the older SourceHut repository URL, suggesting a repository-hosting move rather than a change in purpose.

The README's examples focus on piping `cargo depgraph` into Graphviz's `dot`, and the documented output legend shows the project grew around Cargo-specific semantics rather than generic graph rendering.

Adoptionsgeschichte

Adoption is niche but broad enough for distribution packaging: the supplied package-manager facts list Homebrew, Nix, and Arch Linux packages, and crates.io records tens of thousands of downloads. That puts cargo-depgraph in the class of Rust ecosystem utilities that are not core workflow tools, but are useful enough to be packaged by Unix-oriented distributions.

Wie es verwendet wird

Users run `cargo depgraph [options] | dot -Tpng > graph.png` from a Cargo project, with Graphviz installed locally or another DOT renderer available. Common options include `--all-deps` and `--all-deps --dedup-transitive-deps` for fuller dependency views.

Warum Paket-Nerds sich dafür interessieren

Package nerds care about cargo-depgraph because it exposes Cargo resolver state visually: optional dependencies, target-specific dependencies, build dependencies, dev dependencies, and transitive optional edges become inspectable without hand-reading `Cargo.lock` and `Cargo.toml` trees.

It is also a good example of the Rust community's habit of building small Cargo subcommands around `cargo metadata`, then letting traditional Unix tools such as Graphviz handle the final representation.

Zeitleiste

  • 2020: cargo-depgraph crate first published on crates.io.
  • 2023: crates.io metadata for cargo-depgraph last updated at version 1.6.0.
  • 2026: Codeberg repository metadata lists jplatte/cargo-depgraph as an active repository.

Related projects

  • Cargo metadata is the data source that lets cargo-depgraph inspect Rust package graphs.
  • Graphviz is the rendering toolchain used by the README examples.
  • Other Cargo inspection tools, such as cargo tree, overlap in dependency exploration but present the graph as text rather than DOT output.

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 10 Plattformziele verfügbar.
  • Build-Metadaten listen 1 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-depgraphcliglobales 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-25
Manager-Version1.6.0
Manager aktualisiert
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://sr.ht/~jplatte/cargo-depgraph/

  • InfoNo package-manager update timestamp was available.niedrig Konfidenz
  • InfoRelease/tag comparison is only available for GitHub repositories.https://sr.ht/~jplatte/cargo-depgraph/none Konfidenz

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:cargo-depgraph
Version1.6.0
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/cargo-depgraph
Homepagehttps://sr.ht/~jplatte/cargo-depgraph/
Repositoryhttps://codeberg.org/jplatte/cargo-depgraph
Upstream-Dokumentationhttps://codeberg.org/jplatte/cargo-depgraph#readme
LizenzGPL-3.0-or-later
Quellarchivhttps://git.sr.ht/~jplatte/cargo-depgraph/archive/v1.6.0.tar.gz
Build-Abhängigkeitenrust
Bottleverfügbar (auf arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecargo-depgraph
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-depgraph

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

cargo-depgraph 1.6.0-3

Creates dependency graphs for cargo projects using cargo metadata and graphviz

https://github.com/jplatte/cargo-depgraph

sudo pacman -S cargo-depgraph
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • 3 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Cargo Depgraph
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cargo-depgraph 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