Decision Workspace
nutype-enum vs enumset 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.
72
enumset
stablev1.1.14
A library for creating compact sets of enums.
72
caret
growingv0.11.0
Macros for declaring non-exhaustive C-style enumerations, with named members
Core Metrics
| nutype-enum | enumset | caret | |
|---|---|---|---|
| Health Score | 50 | 72 | 72 |
| Total Downloads | 322.3K | 49.0M | 1.1M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 28 | 3.9K | 330 |
| Releases | 7 | 60 | 33 |
| Last Updated | 510d ago | 81d ago | 8d ago |
| Age | 1y 8m | 8y 11m | 5y 3m |
Health Breakdown
nutype-enum
Maintenance
7
Quality
12
Community
11
Popularity
7
Documentation
13
enumset
Maintenance
15
Quality
18
Community
16
Popularity
8
Documentation
15
caret
Maintenance
21
Quality
17
Community
15
Popularity
7
Documentation
12
Technical Details
| nutype-enum | enumset | caret | |
|---|---|---|---|
| Version | 0.1.5 | 1.1.14 | 0.11.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT/Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 3 | 0 |
| Crate Size | 6KB | 26KB | 4KB |
| Features | 1 | 4 | 1 |
| Yanked % | 14.3% | 13.3% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | — | 1.71 | 1.92 |
| Owners | 2 (team) | 2 | 4 |
Links
Quick Verdict
- •enumset leads with a health score of 72/100, but none of the options score above 80.
- •enumset is depended on by 3.9K crates — strongest ecosystem trust.
- •⚠ nutype-enum has not been updated in over a year.
- •nutype-enum, caret are pre-1.0 — API may change.