cargo-depgraph
« Back to VersTracker
Description:
Creates dependency graphs for cargo projects
Type: Formula  |  Latest Version: 1.6.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: rust cargo dependencies graph visualization developer-tools
Install: brew install cargo-depgraph
About:
cargo-depgraph is a command-line utility that generates detailed dependency graphs for Rust projects managed by Cargo. It analyzes your Cargo.lock and Cargo.toml files to visualize the complex relationships between packages. This tool is invaluable for understanding project structure, identifying unused dependencies, and auditing your dependency tree.
Key Features:
  • Generates dependency graphs in Graphviz (DOT) format
  • Can distinguish between build, development, and runtime dependencies
  • Capable of filtering and focusing on specific packages
  • Integrates with the Cargo ecosystem seamlessly
Use Cases:
  • Auditing project dependencies for security vulnerabilities or bloat
  • Visualizing complex dependency chains in large Rust applications
  • Generating documentation for a project's architecture
Alternatives:
  • cargo-tree – cargo-tree is built into Cargo and provides a text-based tree view, whereas cargo-depgraph specializes in generating visual graphs for complex relationship analysis.
License: GPL-3.0-or-later
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, arm64_monterey, sonoma, ventura, monterey, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 12, 2025 5:41pm 0 VERSION_BUMP 54c70398
Oct 27, 2024 11:42pm 0 VERSION_BUMP 7bc1fcee