Decision Workspace
const-pkg-version vs pkg-version vs enum-assoc
Side-by-side comparison of Rust crates
46
const-pkg-version
growingv0.1.1
constant expressions for your package version (no-std/no-alloc compatible)
51
pkg-version
growingv1.0.0
Macros expanding to the package version
66
enum-assoc
stablev1.4.1
Procedural macro to associate constants with enum variants.
Core Metrics
| const-pkg-version | pkg-version | enum-assoc | |
|---|---|---|---|
| Health Score | 46 | 51 | 66 |
| Total Downloads | 2.9K | 418.5K | 4.4M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 199 | 106 |
| Releases | 2 | 4 | 28 |
| Last Updated | 506d ago | 2513d ago | 51d ago |
| Age | 1y 4m | 7y 5m | 4y 7m |
Health Breakdown
const-pkg-version
Maintenance
6
Quality
17
Community
6
Popularity
4
Documentation
13
pkg-version
Maintenance
6
Quality
15
Community
11
Popularity
7
Documentation
12
enum-assoc
Maintenance
16
Quality
17
Community
12
Popularity
8
Documentation
13
Technical Details
| const-pkg-version | pkg-version | enum-assoc | |
|---|---|---|---|
| Version | 0.1.1 | 1.0.0 | 1.4.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | BSD-2-Clause | 0BSD | MIT OR Apache-2.0 |
| Dependencies | 4 | 3 | 3 |
| Crate Size | 5KB | 4KB | 10KB |
| Features | 5 | 0 | 0 |
| Yanked % | 0.0% | 25.0% | 7.1% |
| Edition | 2024 | 2018 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •enum-assoc leads with a health score of 66/100, but none of the options score above 80.
- •pkg-version is depended on by 199 crates — strongest ecosystem trust.
- •⚠ const-pkg-version, pkg-version have not been updated in over a year.
- •const-pkg-version is pre-1.0 — API may change.