variant_count
v1.2.0 GrowingDerive macro for enum which adds to it the count of variants.
Quick Verdict
- โStable API (1.x for 7+ years)
- โTrusted by 135 crates
- โTiny footprint (4KB, 3 deps)
- โPermissive license (MIT)
Security
Deep Insights
277.8K downloads in the last 30 days (9.3K/day), up 30% from the previous period.
135 crates depend on variant_count. Reasonable ecosystem adoption, though not yet a core dependency.
The API has been stable (1.x) for over 7 years with 3 releases. This level of maturity means you can depend on it without worrying about breaking changes.
Only 3 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.
At 4KB, variant_count is lightweight. Small crate size correlates with focused, well-scoped functionality.
Notable dependents include fluence-it-types, field_types, mv-binary-format, macro-machines, edsm-dumps-model. When high-quality crates choose variant_count, it's a strong quality signal.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata
Download Trend
Top Dependents
Most downloaded crates that depend on variant_count