Decision Workspace
variant_count vs derive_is_enum_variant vs enum_convert
Side-by-side comparison of Rust crates
57
variant_count
growingv1.2.0
Derive macro for enum which adds to it the count of variants.
46
derive_is_enum_variant
growingv0.1.1
Automatically derives `is_dog` and `is_cat` methods for `enum Pet { Dog, Cat }`.
41
enum_convert
experimentalv0.2.0
A Rust procedural macro library for deriving automatic conversions between enum variants
Core Metrics
| variant_count | derive_is_enum_variant | enum_convert | |
|---|---|---|---|
| Health Score | 57 | 46 | 41 |
| Total Downloads | 6.0M | 809.1K | 5.8K |
| 30d Downloads | 259.1K | 22.1K | 3.1K |
| Dependents | 135 | 104 | 0 |
| Releases | 3 | 2 | 2 |
| Last Updated | 280d ago | 3116d ago | 184d ago |
| Age | 7y 4m | 8y 6m | 7m |
Health Breakdown
variant_count
Maintenance
5
Quality
20
Community
11
Popularity
8
Documentation
13
derive_is_enum_variant
Maintenance
3
Quality
14
Community
11
Popularity
7
Documentation
11
enum_convert
Maintenance
9
Quality
13
Community
5
Popularity
4
Documentation
10
Technical Details
| variant_count | derive_is_enum_variant | enum_convert | |
|---|---|---|---|
| Version | 1.2.0 | 0.1.1 | 0.2.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | Apache-2.0/MIT | MIT |
| Dependencies | 3 | 4 | 6 |
| Crate Size | 4KB | 10KB | 27KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | — | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •variant_count leads with a health score of 57/100, but none of the options score above 80.
- •variant_count is depended on by 135 crates — strongest ecosystem trust.
- •⚠ derive_is_enum_variant has not been updated in over a year.
- •derive_is_enum_variant, enum_convert are pre-1.0 — API may change.