Decision Workspace
sumtype-macro vs sumtype vs discriminant
Side-by-side comparison of Rust crates
47
sumtype-macro
growingv0.2.6
Generate zerocost sumtype of iterators or closures
51
sumtype
growingv0.2.6
Generate zerocost sumtype of iterators or closures
37
discriminant
growingv0.1.0
Better `Discriminant` and enum operations
Core Metrics
| sumtype-macro | sumtype | discriminant | |
|---|---|---|---|
| Health Score | 47 | 51 | 37 |
| Total Downloads | 6.6K | 12.4K | 1.3K |
| 30d Downloads | 81 | 74 | 3 |
| Dependents | 7 | 8 | 0 |
| Releases | 7 | 13 | 1 |
| Last Updated | 136d ago | 136d ago | 537d ago |
| Age | 1y 6m | 1y 7m | 1y 5m |
Health Breakdown
sumtype-macro
Maintenance
11
Quality
13
Community
8
Popularity
5
Documentation
10
sumtype
Maintenance
12
Quality
15
Community
9
Popularity
5
Documentation
10
discriminant
Maintenance
2
Quality
15
Community
6
Popularity
4
Documentation
10
Technical Details
| sumtype-macro | sumtype | discriminant | |
|---|---|---|---|
| Version | 0.2.6 | 0.2.6 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 8 | 2 | 1 |
| Crate Size | 14KB | 14KB | 2KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •sumtype leads with a health score of 51/100, but none of the options score above 80.
- •⚠ discriminant has not been updated in over a year.