rust-deps-visualizer

Visualizes Rust dependency trees as ASCII diagrams from cargo metadata and Cargo.toml files.

1|2|Updated Oct 10, 2025
One-click install
npx skills add https://github.com/dojoengine/torii-core --skill rust-deps-visualizer-dojoengine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-deps-visualizer
Source: https://github.com/dojoengine/torii-core/tree/main/.agents/skills/rust-deps-visualizer
Command: npx skills add https://github.com/dojoengine/torii-core --skill rust-deps-visualizer-dojoengine

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Visualizes Rust dependency graphs as ASCII art to help developers quickly understand crate relationships without digging through verbose metadata.

Core Features & Use Cases

  • ASCII dependency trees: Generate human-readable representations of a project's dependencies.
  • Depth control: Limit the depth of the visualization with --depth to focus on relevant sections.
  • Feature flags: Show enabled features and optional dependencies for precise modeling.
  • Use cases: Quickly assess transitive dependencies in a Rust workspace to identify bloat or conflicting crates.

Quick Start

Run /rust-deps-visualizer with optional flags to generate an ASCII dependency tree for your Rust project.

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 dependency trees as ASCII art?

Visualize Rust dependency trees as ASCII art by parsing Cargo.toml and cargo metadata to generate human-readable diagrams. This helps developers quickly understand crate relationships and assess transitive dependencies in a project.

Can I limit the depth of a Rust cargo dependency tree visualization?

Yes, you can limit the depth of a Rust cargo dependency tree visualization using the --depth flag. This focuses the ASCII diagram on relevant sections, making it easier to manage large workspaces without being overwhelmed by transitive dependencies.

Does this Rust dependency visualizer show enabled feature flags?

Yes, the visualizer shows enabled feature flags and optional dependencies for precise modeling. It parses cargo tree output to produce ASCII representations that include enabled features alongside standard crate relationships.

What is the best way to identify dependency bloat in a Rust workspace?

Generating an ASCII dependency tree is the best way to identify dependency bloat in a Rust workspace. Visualizing crate relationships and transitive dependencies allows you to quickly spot conflicting or unnecessary crates causing bloat.

Does this ASCII dependency tree tool work with large Rust workspaces?

Yes, this ASCII dependency tree tool works with large Rust workspaces. It supports projects of varying sizes, from small binaries to large workspaces, and allows depth-limited views to manage complex dependency graphs effectively.