Decision Workspace
qed vs build_const vs const_fn
Side-by-side comparison of Rust crates
56
qed
growingv1.6.1
Compile-time assertions
48
build_const
growingv0.2.2
library for creating importable constants from build.rs or a script
62
const_fn
growingv0.4.12
A lightweight attribute for easy generation of const functions with conditional compilations.
Core Metrics
| qed | build_const | const_fn | |
|---|---|---|---|
| Health Score | 56 | 48 | 62 |
| Total Downloads | 67.9K | 18.4M | 54.9M |
| 30d Downloads | 474 | 395.1K | 1.6M |
| Dependents | 0 | 91 | 136 |
| Releases | 10 | 5 | 25 |
| Last Updated | 1029d ago | 1803d ago | 24d ago |
| Age | 3y 11m | 8y 10m | 7y 3m |
Health Breakdown
qed
Maintenance
4
Quality
20
Community
11
Popularity
6
Documentation
15
build_const
Maintenance
3
Quality
18
Community
8
Popularity
8
Documentation
11
const_fn
Maintenance
16
Quality
15
Community
12
Popularity
8
Documentation
11
Technical Details
| qed | build_const | const_fn | |
|---|---|---|---|
| Version | 1.6.1 | 0.2.2 | 0.4.12 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT | Apache-2.0 OR MIT |
| Dependencies | 1 | 0 | 0 |
| Crate Size | 6KB | 5KB | 14KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 4.0% |
| Edition | 2021 | — | 2018 |
| MSRV | 1.64.0 | — | 1.31 |
| Owners | 2 (team) | 1 | 1 |
Links
Quick Verdict
- •const_fn leads with a health score of 62/100, but none of the options score above 80.
- •const_fn is depended on by 136 crates — strongest ecosystem trust.
- •⚠ qed, build_const have not been updated in over a year.
- •build_const, const_fn are pre-1.0 — API may change.