# regexident/cargo-modules

Visualize/analyze a Rust crate's internal structure

Repository: https://github.com/regexident/cargo-modules
Canonical: https://ross.abutalabs.com/products/cargo-modules
Language: Rust
License: MPL-2.0
License Family: copyleft
Topics: rust, cargo-commands, developer-tools, tooling, rust-tools, code-analysis-tool
Last push: 2026-08-24T06:52:13+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 3721, "days_push": 9, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1258, forks 59 (observed 2026-08-28T04:04:09.590955+00:00)

## What it is
A cargo plugin that visualizes and analyzes a Rust crate's internal module structure. It prints hierarchical module trees, internal dependency graphs, and detects orphaned source files.

## Use cases
- visualize a rust crate's module hierarchy as a tree
- generate a dependency graph of a crate's internal modules
- find unlinked orphan source files in a rust project
- understand the structure of a large rust codebase
- audit module organization in a rust project

## When to choose
- you need a quick tree or graph overview of a Rust crate's modules
- you want to detect orphaned source files not linked into the module tree
- you prefer a lightweight cargo subcommand integrated into your Rust workflow

## When to avoid
- you need full static analysis beyond module structure, like type-level call graphs
- you work in a language other than Rust
- you need IDE-integrated visualization rather than terminal output

## Facets
- artifact type: cli-tool
- maturity: active
- function: developer-tools, parser, documentation, static-site-generator
- domain: developer-tools, programming-languages, parsers
- platform: cli, rust, cross-platform
- tags: cargo-plugin, rust-modules, code-analysis, module-visualization, dependency-graph, command-line

## Member repositories
- regexident/cargo-modules (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:09.590955+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:05:36.656735+00:00, confidence not recorded.
  - readme: https://github.com/regexident/cargo-modules (fetched 2026-08-28T04:04:09.590955+00:00, sha de6cf3b862ec)
  - registry_crates: https://crates.io/api/v1/crates/cargo-modules (fetched 2026-08-29T12:17:13.681313+00:00, sha 111d76a65b24)
- Data as of 2026-08-30T08:39:29.467469+00:00.
