rust-deps-visualizer

Generate ASCII dependency trees from cargo metadata and cargo tree output.

Updated Feb 12, 2026
One-click install
npx skills add https://github.com/jmduea/emotiv-cortex-rs --skill rust-deps-visualizer-jmduea
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-deps-visualizer
Source: https://github.com/jmduea/emotiv-cortex-rs/tree/main/.github/skills/rust-deps-visualizer
Command: npx skills add https://github.com/jmduea/emotiv-cortex-rs --skill rust-deps-visualizer-jmduea

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers often struggle to understand the full dependency graph of a Rust project, especially when dealing with many crates and feature flags. This skill automatically creates a readable ASCII representation, making it easy to audit and visualize dependencies without leaving the terminal.

Core Features & Use Cases

  • Dependency Tree Generation: Produces an ASCII tree of all crates, optionally limiting depth and including feature flags.
  • Customizable Output: Supports depth control and feature inclusion via simple command options.
  • Category Visualization: Can group dependencies by runtime, serialization, or development categories for clearer insight. Typical use case: a developer wants to quickly see which crates a new project pulls in and how feature flags affect the tree.

Quick Start

Ask the rust-deps-visualizer skill to show the dependency tree of the current Rust project up to three levels deep.

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 crate dependencies as an ASCII tree?

To visualize Rust crate dependencies as an ASCII tree, you can use a tool that runs cargo metadata and cargo tree commands, parsing their output with box-drawing characters to produce a clear, terminal-based dependency tree.

Can I limit the depth of a Rust dependency tree in the terminal?

Yes, you can limit the depth of a Rust dependency tree by applying depth control options, which restricts the visualization to a specific number of levels for direct and transitive crates.

How do I show feature flags in a cargo tree output?

To show feature flags in a cargo tree visualization, you can enable feature inclusion options to inspect how specific features affect the full dependency graph of your Rust workspace.

What is the best way to audit transitive crates in a Rust workspace?

Auditing transitive crates in a Rust workspace is best done by generating an ASCII representation of the dependency graph, allowing you to easily inspect all pulled crates without leaving the terminal.

Does a Rust dependency visualizer work without external dependencies?

Yes, the visualization process operates without external dependencies by directly running cargo metadata and cargo tree commands to parse and format the project's existing dependency data.

Can I group Rust dependencies by category for clearer insight?

Yes, you can group Rust dependencies by runtime, serialization, or development categories during visualization to gain clearer insight into the structure of your project's crates.