cargo-modules 0.26.0

A cargo plugin for showing a tree-like overview of a crate's modules.
Documentation
---
source: tests/structure.rs
expression: output
snapshot_kind: text
---
COMMAND:
structure
--cfg-test
--no-traits
--no-fns

STDERR:

STDOUT:

crate github_issue_80
├── struct OnlyExistsWithTest: pub #[cfg(test)]
├── struct Placebo: pub
├── mod imported: pub
│   ├── struct OnlyUsedWithTest: pub
│   ├── struct OnlyUsedWithoutTest: pub
│   └── struct Placebo: pub
├── mod importing: pub
└── mod only_exists_with_test: pub #[cfg(test)]
    ├── struct OnlyExistsWithTest: pub #[cfg(test)]
    └── struct Placebo: pub