Decision Workspace
pkg-version vs const-pkg-version vs macro_const
Side-by-side comparison of Rust crates
51
pkg-version
growingv1.0.0
Macros expanding to the package version
46
const-pkg-version
experimentalv0.1.1
constant expressions for your package version (no-std/no-alloc compatible)
42
macro_const
growingv0.1.0
A macro for creating corresponding macro definitions for constants which evaluate to the same values.
Core Metrics
| pkg-version | const-pkg-version | macro_const | |
|---|---|---|---|
| Health Score | 51 | 46 | 42 |
| Total Downloads | 333.7K | 2.5K | 63.6K |
| 30d Downloads | 13.1K | 121 | 1.5K |
| Dependents | 163 | 0 | 39 |
| Releases | 4 | 2 | 1 |
| Last Updated | 2317d ago | 310d ago | 2041d ago |
| Age | 6y 11m | 10m | 5y 7m |
Health Breakdown
pkg-version
Maintenance
6
Quality
15
Community
11
Popularity
7
Documentation
12
const-pkg-version
Maintenance
7
Quality
16
Community
6
Popularity
4
Documentation
13
macro_const
Maintenance
1
Quality
16
Community
10
Popularity
6
Documentation
9
Technical Details
| pkg-version | const-pkg-version | macro_const | |
|---|---|---|---|
| Version | 1.0.0 | 0.1.1 | 0.1.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | 0BSD | BSD-2-Clause | MIT |
| Dependencies | 3 | 4 | 0 |
| Crate Size | 4KB | 5KB | 2KB |
| Features | 0 | 5 | 0 |
| Yanked % | 25.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •pkg-version leads with a health score of 51/100, but none of the options score above 80.
- •pkg-version is depended on by 163 crates — strongest ecosystem trust.
- •⚠ pkg-version, macro_const have not been updated in over a year.
- •const-pkg-version, macro_const are pre-1.0 — API may change.