
Rust Deps Visualizer
Visualize Rust project dependency trees as ASCII art, with optional feature flags and size estimates.
- skills.sh installs
- 3.3K
- GitHub stars
- 1.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers generating a dependency tree from
cargo tree, limited by--depth N(default 3) - Includes an optional
--featuresmode that annotates each crate with its enabled feature flags - Groups dependencies into Runtime, Serialization, and Development categories, with optional size bars
- Designed for Rust developers reviewing a project's dependency graph before adding or pruning crates
Install
$ npx -y skills add actionbook/rust-skills --skill rust-deps-visualizer -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Rust Dependencies Visualizer
Generate ASCII art visualizations of your Rust project's dependency tree.
Usage
/rust-deps-visualizer [--depth N] [--features]
Options:
--depth N: Limit tree depth (default: 3)--features: Show feature flags
Output Format
Simple Tree (Default)
my-project v0.1.0
├── tokio v1.49.0
│ ├── pin-project-lite v0.2.x
│ └── bytes v1.x
├── serde v1.0.x
│ └── serde_derive v1.0.x
└── anyhow v1.x
Feature-Aware Tree
my-project v0.1.0
├── tokio v1.49.0 [rt, rt-multi-thread, macros, fs, io-util]
│ ├── pin-project-lite v0.2.x
│ └── bytes v1.x
├── serde v1.0.x [derive]
│ └── serde_derive v1.0.x (proc-macro)
└── anyhow v1.x [std]
Implementation
Step 1: Parse Cargo.toml for direct dependencies
cargo metadata --format-version=1 --no-deps 2>/dev/null
Step 2: Get full dependency tree
cargo tree --depth=${DEPTH:-3} ${FEATURES:+--features} 2>/dev/null
Step 3: Format as ASCII art tree
Use these box-drawing characters:
├──for middle items└──for last items│for continuation lines
Visual Enhancements
Dependency Categories
Details
- Repository
- github.com/actionbook/rust-skills
- Categories
- Rust, CLI & Terminal
- First seen
- May 16, 2026
More from actionbook/rust-skills
All 38- Meta Cognition Parallel3.3K
- Rust Daily3.3K
- Domain Embedded3.2K
- Domain Cloud Native3.2K
- Domain Fintech3.1K
- Domain Ml3.1K
- Domain Iot3K
- Rust Router3K
- Core Agent Browser2.3K
- Core Dynamic Skills2.1K
- Core Actionbook2.1K
- Core Fix Skill Docs2.1K
- M15 Anti Pattern9.4K
- Coding Guidelines4.3K
- M10 Performance4K
- M07 Concurrency3.8K
- M06 Error Handling3.8K
- M01 Ownership3.7K
- M05 Type Driven3.7K
- M04 Zero Cost3.7K
- M02 Resource3.7K
- Rust Refactor Helper3.7K
- M03 Mutability3.7K
- M12 Lifecycle3.6K
Similar to Rust Deps Visualizer
More Rust
rust-call-graphSkillactionbook/rust-skills3.5K installsVisualizes Rust function call graphs in both directions using LSP call hierarchy for impact analysis.
rust-symbol-analyzerSkillactionbook/rust-skills3.5K installsStructured Rust project analysis that lists modules, structs, traits, functions, and enums from LSP symbols.
rationalize-depsSkillquickwit-oss/tantivy16.5K starsSystematic workflow that trims default Cargo features from dependencies to cut compile times and binary size.
Repo GraphMCP serverjames-chahwan46 starsStructural graph map of a codebase for LLMs, with orient, find, impact, trace, read, and refresh tools.
cargo-workflowsSkillmohitmishra786/low-level-dev-skills637 installsComprehensive Cargo workflow guide for workspaces, feature flags, build scripts, caching, and dependency auditing.