Decision Workspace
const_stringify_ints vs const-gen vs const-gen-derive
Side-by-side comparison of Rust crates
37
const_stringify_ints
growingv0.1.0
Converts (generic) constant integers to &'static str
69
const-gen
stablev1.6.10
A crate for generating (relatively) complex compile-time constants in rust.
54
const-gen-derive
growingv1.1.7
A derive macro for the const-gen crate.
Core Metrics
| const_stringify_ints | const-gen | const-gen-derive | |
|---|---|---|---|
| Health Score | 37 | 69 | 54 |
| Total Downloads | 1.7K | 602.3K | 563.0K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 37 | 46 |
| Releases | 1 | 46 | 16 |
| Last Updated | 1552d ago | 12d ago | 233d ago |
| Age | 4y 3m | 5y 5m | 5y 5m |
Health Breakdown
const_stringify_ints
Maintenance
1
Quality
16
Community
6
Popularity
4
Documentation
10
const-gen
Maintenance
18
Quality
22
Community
10
Popularity
7
Documentation
12
const-gen-derive
Maintenance
7
Quality
17
Community
11
Popularity
7
Documentation
12
Technical Details
| const_stringify_ints | const-gen | const-gen-derive | |
|---|---|---|---|
| Version | 0.1.0 | 1.6.10 | 1.1.7 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 2 | 3 |
| Crate Size | 4KB | 11KB | 4KB |
| Features | 0 | 5 | 0 |
| Yanked % | 0.0% | 2.2% | 6.3% |
| Edition | 2021 | 2018 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •const-gen leads with a health score of 69/100, but none of the options score above 80.
- •⚠ const_stringify_ints has not been updated in over a year.
- •const_stringify_ints is pre-1.0 — API may change.