rust-deps-visualizer

Parse Cargo.toml and cargo tree to generate ASCII dependency trees.

1.4k|110|Updated Jan 17, 2026
One-click install
npx skills add https://github.com/actionbook/rust-skills --skill rust-deps-visualizer-actionbook
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-deps-visualizer
Source: https://github.com/actionbook/rust-skills/tree/main/skills/rust-deps-visualizer
Command: npx skills add https://github.com/actionbook/rust-skills --skill rust-deps-visualizer-actionbook

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Visualize Rust project dependencies as ASCII trees to quickly understand crate graphs and their relationships, reducing manual graph analysis.

Core Features & Use Cases

  • Generate an ASCII dependency tree for a Rust project by parsing Cargo.toml and leveraging cargo-tree.
  • Visualize both direct and transitive dependencies with optional depth control and feature annotations.
  • Use Case: onboarding new contributors or performing dependency audits by providing a clear, human-readable graph of crates.

Quick Start

Run the skill on a Rust project to generate an ASCII dependency tree.

  • Command: /rust-deps-visualizer [--depth N] [--features]
  • Alternative: cargo tree --depth ${DEPTH:-3} ${FEATURES:+--features}

Frequently Asked Questions about rust-deps-visualizer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I visualize Rust dependencies as an ASCII tree?

To visualize Rust dependencies as an ASCII tree, this skill parses Cargo.toml for direct dependencies and traverses the full dependency graph using cargo tree to format results into readable ASCII art.

Can I limit the depth of the Rust dependency graph visualization?

Yes, you can limit the Rust dependency graph visualization depth by passing the depth argument, which restricts the ASCII tree output to a specified number of levels for transitive dependencies.

Does the ASCII dependency tree show feature annotations for crates?

Yes, the ASCII dependency tree can display feature annotations for crates by enabling the features flag, allowing developers to see enabled features alongside direct and transitive dependencies.

What is the best way to generate a human-readable dependency graph for a Rust project?

Generating a human-readable dependency graph for a Rust project is best done by formatting cargo tree output into ASCII art, which clearly visualizes crate relationships for onboarding or dependency audits.

Do I need to manually edit Cargo.toml to see transitive dependencies in ASCII art?

No, you do not need to manually edit Cargo.toml to see transitive dependencies, as the skill automatically parses it for direct dependencies and traverses the full tree to build the ASCII art visualization.