Decision Workspace
discriminant vs sumtype vs sumtype-macro
Side-by-side comparison of Rust crates
36
discriminant
growingv0.1.0
Better `Discriminant` and enum operations
60
sumtype
growingv0.4.1
Generate zerocost anonymous sum types that implement common traits
57
sumtype-macro
growingv0.4.1
Generate zerocost anonymous sum types that implement common traits
Core Metrics
| discriminant | sumtype | sumtype-macro | |
|---|---|---|---|
| Health Score | 36 | 60 | 57 |
| Total Downloads | 1.3K | 14.3K | 8.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 9 | 9 |
| Releases | 1 | 15 | 9 |
| Last Updated | 734d ago | 53d ago | 53d ago |
| Age | 2y | 2y 1m | 2y |
Health Breakdown
discriminant
Maintenance
1
Quality
15
Community
6
Popularity
4
Documentation
10
sumtype
Maintenance
16
Quality
15
Community
9
Popularity
5
Documentation
15
sumtype-macro
Maintenance
15
Quality
13
Community
9
Popularity
5
Documentation
15
Technical Details
| discriminant | sumtype | sumtype-macro | |
|---|---|---|---|
| Version | 0.1.0 | 0.4.1 | 0.4.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 1 | 2 | 9 |
| Crate Size | 2KB | 32KB | 18KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.56.0 | 1.56.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •sumtype leads with a health score of 60/100, but none of the options score above 80.
- •⚠ discriminant has not been updated in over a year.