macOS
brew install cargo-depgraphlocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für cargo-depgraph in AI-Agent-Workflows.
Installation
brew install cargo-depgraphlocal Homebrew formula metadata
nix profile install nixpkgs#cargo-depgraphnixpkgs package indexes · pkgs/by-name/ca/cargo-depgraph/package.nix · Quelle: api.github.com
sudo pacman -S cargo-depgraphArch Linux sync databases · cargo-depgraph · Quelle: geo.mirror.pkgbuild.com
Überblick
Creates dependency graphs for cargo projects
Verlauf
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.
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.
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.
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.
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.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
cargo-depgraph | cli | globales Executable |
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.
https://sr.ht/~jplatte/cargo-depgraph/
Installationsmetadaten
| Paketschlüssel | brew:cargo-depgraph |
|---|---|
| Version | 1.6.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/cargo-depgraph |
| Homepage | https://sr.ht/~jplatte/cargo-depgraph/ |
| Repository | https://codeberg.org/jplatte/cargo-depgraph |
| Upstream-Dokumentation | https://codeberg.org/jplatte/cargo-depgraph#readme |
| Lizenz | GPL-3.0-or-later |
| Quellarchiv | https://git.sr.ht/~jplatte/cargo-depgraph/archive/v1.6.0.tar.gz |
| Build-Abhängigkeiten | rust |
| Bottle | verfügbar (auf arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cargo-depgraph |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
cargo-depgraph
nix profile install nixpkgs#cargo-depgraphcargo-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-depgraphQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.