Decision Workspace
once-fn vs once-fn-macros vs cachekit-macros
Side-by-side comparison of Rust crates
53
once-fn
growingv0.3.0
cache the result of a function so its body runs only once
45
once-fn-macros
experimentalv0.3.0
procedural macros for the once-fn crate
56
cachekit-macros
experimentalv0.10.0
Proc-macro decorators for the cachekit-rs SDK (#[cachekit] attribute macro).
Core Metrics
| once-fn | once-fn-macros | cachekit-macros | |
|---|---|---|---|
| Health Score | 53 | 45 | 56 |
| Total Downloads | 4.8K | 14 | 237 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 2 | 1 | 9 |
| Releases | 4 | 1 | 9 |
| Last Updated | 9d ago | 9d ago | 5d ago |
| Age | 2y | 9d | 5m |
Health Breakdown
once-fn
Maintenance
16
Quality
15
Community
6
Popularity
4
Documentation
12
once-fn-macros
Maintenance
12
Quality
14
Community
6
Popularity
1
Documentation
12
cachekit-macros
Maintenance
19
Quality
14
Community
8
Popularity
3
Documentation
12
Technical Details
| once-fn | once-fn-macros | cachekit-macros | |
|---|---|---|---|
| Version | 0.3.0 | 0.3.0 | 0.10.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 3 | 3 | 3 |
| Crate Size | 20KB | 10KB | 13KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | 1.85 | 1.85 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cachekit-macros leads with a health score of 56/100, but none of the options score above 80.
- •once-fn has the most downloads (4.8K), suggesting wider adoption.