Decision Workspace
sort-macro vs macro_rules_attribute vs generics
Side-by-side comparison of Rust crates
35
sort-macro
experimentalv0.2.1
Sort macro input tokens
58
macro_rules_attribute
growingv0.2.3
Use declarative macros in attribute or derive position
55
generics
growingv0.5.3
Provides macros for parsing generics (with optional where clause) in `macro_rules!`.
Core Metrics
| sort-macro | macro_rules_attribute | generics | |
|---|---|---|---|
| Health Score | 35 | 58 | 55 |
| Total Downloads | 54 | 56.3M | 106.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 2.2K | 177 |
| Releases | 3 | 20 | 26 |
| Last Updated | 138d ago | 72d ago | 955d ago |
| Age | 4m | 7y 1m | 6y |
Health Breakdown
sort-macro
Maintenance
12
Quality
8
Community
3
Popularity
2
Documentation
10
macro_rules_attribute
Maintenance
12
Quality
12
Community
14
Popularity
8
Documentation
12
generics
Maintenance
6
Quality
16
Community
12
Popularity
6
Documentation
15
Technical Details
| sort-macro | macro_rules_attribute | generics | |
|---|---|---|---|
| Version | 0.2.1 | 0.2.3 | 0.5.3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | Apache-2.0 OR MIT OR Zlib | MIT OR Apache-2.0 |
| Dependencies | 1 | 5 | 0 |
| Crate Size | 4KB | 15KB | 5KB |
| Features | 0 | 3 | 0 |
| Yanked % | 33.3% | 10.0% | 0.0% |
| Edition | 2024 | 2018 | 2021 |
| MSRV | — | — | 1.71 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •macro_rules_attribute leads with a health score of 58/100, but none of the options score above 80.
- •macro_rules_attribute is depended on by 2.2K crates — strongest ecosystem trust.
- •⚠ generics has not been updated in over a year.