Decision Workspace
const_fn vs pin-project-internal vs auto_enums
Side-by-side comparison of Rust crates
62
const_fn
growingv0.4.12
A lightweight attribute for easy generation of const functions with conditional compilations.
68
pin-project-internal
stablev1.1.11
Implementation detail of the `pin-project` crate.
66
auto_enums
growingv0.8.8
A library for to allow multiple return types by automatically generated enum.
Core Metrics
| const_fn | pin-project-internal | auto_enums | |
|---|---|---|---|
| Health Score | 62 | 68 | 66 |
| Total Downloads | 54.9M | 382.6M | 12.4M |
| 30d Downloads | 1.6M | 27.0M | 1.1M |
| Dependents | 136 | 87 | 241 |
| Releases | 25 | 69 | 57 |
| Last Updated | 24d ago | 28d ago | 28d ago |
| Age | 7y 3m | 6y 7m | 7y 3m |
Health Breakdown
const_fn
Maintenance
16
Quality
15
Community
12
Popularity
8
Documentation
11
pin-project-internal
Maintenance
17
Quality
20
Community
11
Popularity
8
Documentation
12
auto_enums
Maintenance
17
Quality
17
Community
12
Popularity
8
Documentation
12
Technical Details
| const_fn | pin-project-internal | auto_enums | |
|---|---|---|---|
| Version | 0.4.12 | 1.1.11 | 0.8.8 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0 OR MIT | Apache-2.0 OR MIT | Apache-2.0 OR MIT |
| Dependencies | 0 | 3 | 14 |
| Crate Size | 14KB | 29KB | 58KB |
| Features | 0 | 0 | 21 |
| Yanked % | 4.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | 1.31 | 1.71 | 1.71 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •pin-project-internal leads with a health score of 68/100, but none of the options score above 80.
- •auto_enums is depended on by 241 crates — strongest ecosystem trust.
- •const_fn, auto_enums are pre-1.0 — API may change.