cargo-deps
« Back to VersTracker
Description:
Cargo subcommand to building dependency graphs of Rust projects
Type: Formula  |  Latest Version: 1.5.1@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: rust cargo dependencies visualization graph developer-tools
Install: brew install cargo-deps
About:
cargo-deps is a Cargo subcommand that generates visual dependency graphs for Rust projects. It analyzes your Cargo.toml and lock files to create dot files that can be rendered into diagrams. This tool helps developers understand complex dependency relationships and identify potential issues.
Key Features:
  • Generates GraphViz DOT format dependency graphs
  • Supports filtering by dependency types (normal, build, dev)
  • Integrates directly with Cargo as a subcommand
  • Can output to various formats via GraphViz
Use Cases:
  • Visualizing dependency complexity in large Rust projects
  • Identifying circular dependencies or dependency bloat
  • Documentation generation for project architecture
Alternatives:
  • cargo-tree – cargo-tree shows text-based dependency trees while cargo-deps creates visual graphs
  • cargo-graph – Similar purpose but cargo-deps is more actively maintained and has better feature support
License: BSD-3-Clause
Bottles available for: arm64_sequoia, arm64_sonoma, arm64_ventura, arm64_monterey, arm64_big_sur, sonoma, ventura, monterey, big_sur, x86_64_linux
Version History
Detected Version Rev Change Commit
Oct 27, 2024 11:42pm 0 VERSION_BUMP 51f88e21
Sep 14, 2024 7:50pm 0 VERSION_BUMP c7f96e63