Decision Workspace
dirmod-codegen vs barexp vs cargo-modules
Side-by-side comparison of Rust crates
37
dirmod-codegen
growingv0.1.4
Automatic mod declarations
54
barexp
stablev1.1.1
A Rust library that automatically generates mod.rs files for your project
52
cargo-modules
growingv0.25.0
A cargo plugin for showing a tree-like overview of a crate's modules.
Core Metrics
| dirmod-codegen | barexp | cargo-modules | |
|---|---|---|---|
| Health Score | 37 | 54 | 52 |
| Total Downloads | 8.1K | 3.4K | 226.0K |
| 30d Downloads | 80 | 63 | 1.9K |
| Dependents | 3 | 0 | 32 |
| Releases | 2 | 4 | 111 |
| Last Updated | 2317d ago | 469d ago | 162d ago |
| Age | 6y 5m | 1y 3m | 9y 9m |
Health Breakdown
dirmod-codegen
Maintenance
3
Quality
14
Community
6
Popularity
5
Documentation
9
barexp
Maintenance
13
Quality
18
Community
6
Popularity
4
Documentation
13
cargo-modules
Maintenance
12
Quality
9
Community
10
Popularity
6
Documentation
15
Technical Details
| dirmod-codegen | barexp | cargo-modules | |
|---|---|---|---|
| Version | 0.1.4 | 1.1.1 | 0.25.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0 | MIT | MPL-2.0 |
| Dependencies | 5 | 6 | 38 |
| Crate Size | 7KB | 4KB | 305KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 1.8% |
| Edition | 2018 | 2021 | 2024 |
| MSRV | — | — | 1.86.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •barexp leads with a health score of 54/100, but none of the options score above 80.
- •cargo-modules has the most downloads (226.0K), suggesting wider adoption.
- •⚠ dirmod-codegen, barexp have not been updated in over a year.
- •dirmod-codegen, cargo-modules are pre-1.0 — API may change.