Decision Workspace
sumtype vs sumtype-macro vs discriminant
Side-by-side comparison of Rust crates
50
sumtype
growingv0.2.6
Generate zerocost sumtype of iterators or closures
46
sumtype-macro
growingv0.2.6
Generate zerocost sumtype of iterators or closures
36
discriminant
growingv0.1.0
Better `Discriminant` and enum operations
Core Metrics
| sumtype | sumtype-macro | discriminant | |
|---|---|---|---|
| Health Score | 50 | 46 | 36 |
| Total Downloads | 12.8K | 7.1K | 1.3K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 8 | 7 | 0 |
| Releases | 13 | 7 | 1 |
| Last Updated | 195d ago | 195d ago | 597d ago |
| Age | 1y 9m | 1y 8m | 1y 7m |
Health Breakdown
sumtype
Maintenance
11
Quality
15
Community
9
Popularity
5
Documentation
10
sumtype-macro
Maintenance
10
Quality
13
Community
8
Popularity
5
Documentation
10
discriminant
Maintenance
1
Quality
15
Community
6
Popularity
4
Documentation
10
Technical Details
| sumtype | sumtype-macro | discriminant | |
|---|---|---|---|
| Version | 0.2.6 | 0.2.6 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 2 | 8 | 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 50/100, but none of the options score above 80.
- •⚠ discriminant has not been updated in over a year.