Decision Workspace
nutype-enum vs strum vs caret
Side-by-side comparison of Rust crates
50
nutype-enum
growingv0.1.5
Helper macro to create a nutype that behaves like an enum.
71
strum
growingv0.28.0
Helpful macros for working with enums and strings
71
caret
growingv0.9.0
Macros for declaring non-exhaustive C-style enumerations, with named members
Core Metrics
| nutype-enum | strum | caret | |
|---|---|---|---|
| Health Score | 50 | 71 | 71 |
| Total Downloads | 28.4K | 394.9M | 352.1K |
| 30d Downloads | 6.0K | 30.9M | 30.9K |
| Dependents | 28 | 57.9K | 273 |
| Releases | 7 | 40 | 30 |
| Last Updated | 314d ago | 33d ago | 24d ago |
| Age | 1y 1m | 9y 1m | 4y 9m |
Health Breakdown
nutype-enum
Maintenance
9
Quality
12
Community
11
Popularity
5
Documentation
13
strum
Maintenance
17
Quality
16
Community
15
Popularity
8
Documentation
15
caret
Maintenance
20
Quality
17
Community
15
Popularity
7
Documentation
12
Technical Details
| nutype-enum | strum | caret | |
|---|---|---|---|
| Version | 0.1.5 | 0.28.0 | 0.9.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 3 | 2 | 0 |
| Crate Size | 6KB | 9KB | 4KB |
| Features | 1 | 3 | 1 |
| Yanked % | 14.3% | 2.5% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | — | 1.71 | 1.89 |
| Owners | 2 (team) | 1 | 4 |
Links
Quick Verdict
- •strum leads with a health score of 71/100, but none of the options score above 80.
- •strum is depended on by 57.9K crates — strongest ecosystem trust.