Decision Workspace
mods vs proc-macro-api vs css-modules
Side-by-side comparison of Rust crates
42
mods
growingv1.0.0
Simpler module declaration.
50
proc-macro-api
experimentalv0.1.5
A macro helping with exporting APIs in a proc-macro library crate.
42
css-modules
growingv0.5.2
CSS Modules with a macro for convenience.
Core Metrics
| mods | proc-macro-api | css-modules | |
|---|---|---|---|
| Health Score | 42 | 50 | 42 |
| Total Downloads | 2.8K | 3.4K | 816.3K |
| 30d Downloads | 21 | 24 | 9 |
| Dependents | 0 | 4 | 0 |
| Releases | 1 | 6 | 5 |
| Last Updated | 2204d ago | 323d ago | 2291d ago |
| Age | 6y | 11m | 7y 4m |
Health Breakdown
mods
Maintenance
1
Quality
21
Community
5
Popularity
4
Documentation
11
proc-macro-api
Maintenance
10
Quality
18
Community
8
Popularity
4
Documentation
10
css-modules
Maintenance
9
Quality
14
Community
3
Popularity
7
Documentation
9
Technical Details
| mods | proc-macro-api | css-modules | |
|---|---|---|---|
| Version | 1.0.0 | 0.1.5 | 0.5.2 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 0 | 5 |
| Crate Size | 8KB | 8KB | 7KB |
| Features | 0 | 6 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | 2024 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •proc-macro-api leads with a health score of 50/100, but none of the options score above 80.
- •css-modules has the most downloads (816.3K), suggesting wider adoption.
- •⚠ mods, css-modules have not been updated in over a year.
- •proc-macro-api, css-modules are pre-1.0 — API may change.