Decision Workspace
macro_const vs pkg-version vs enum-assoc
Side-by-side comparison of Rust crates
42
macro_const
growingv0.1.0
A macro for creating corresponding macro definitions for constants which evaluate to the same values.
51
pkg-version
growingv1.0.0
Macros expanding to the package version
62
enum-assoc
stablev1.3.0
Procedural macro to associate constants with enum variants.
Core Metrics
| macro_const | pkg-version | enum-assoc | |
|---|---|---|---|
| Health Score | 42 | 51 | 62 |
| Total Downloads | 63.6K | 333.7K | 1.4M |
| 30d Downloads | 1.5K | 13.3K | 179.8K |
| Dependents | 39 | 163 | 61 |
| Releases | 1 | 4 | 26 |
| Last Updated | 2041d ago | 2317d ago | 89d ago |
| Age | 5y 7m | 6y 11m | 4y 1m |
Health Breakdown
macro_const
Maintenance
1
Quality
16
Community
10
Popularity
6
Documentation
9
pkg-version
Maintenance
6
Quality
15
Community
11
Popularity
7
Documentation
12
enum-assoc
Maintenance
14
Quality
17
Community
11
Popularity
7
Documentation
13
Technical Details
| macro_const | pkg-version | enum-assoc | |
|---|---|---|---|
| Version | 0.1.0 | 1.0.0 | 1.3.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | 0BSD | MIT OR Apache-2.0 |
| Dependencies | 0 | 3 | 3 |
| Crate Size | 2KB | 4KB | 9KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 25.0% | 7.7% |
| Edition | 2018 | 2018 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •enum-assoc leads with a health score of 62/100, but none of the options score above 80.
- •pkg-version is depended on by 163 crates — strongest ecosystem trust.
- •⚠ macro_const, pkg-version have not been updated in over a year.
- •macro_const is pre-1.0 — API may change.