Decision Workspace
once-fn vs memoize vs cachekit-macros
Side-by-side comparison of Rust crates
41
once-fn
growingv0.2.1
cache the result of a function, make it runs only once
55
memoize
growingv0.6.0
Attribute macro for auto-memoizing functions with somewhat-simple signatures
46
cachekit-macros
experimentalv0.3.0
Proc-macro decorators for the cachekit-rs SDK (#[cachekit] attribute macro).
Core Metrics
| once-fn | memoize | cachekit-macros | |
|---|---|---|---|
| Health Score | 41 | 55 | 46 |
| Total Downloads | 3.5K | 1.1M | 32 |
| 30d Downloads | 0 | 50.7K | 0 |
| Dependents | 2 | 120 | 2 |
| Releases | 3 | 22 | 2 |
| Last Updated | 280d ago | 141d ago | 29d ago |
| Age | 1y 7m | 5y 7m | 1m |
Health Breakdown
once-fn
Maintenance
7
Quality
14
Community
6
Popularity
4
Documentation
10
memoize
Maintenance
11
Quality
16
Community
9
Popularity
7
Documentation
12
cachekit-macros
Maintenance
12
Quality
14
Community
6
Popularity
2
Documentation
12
Technical Details
| once-fn | memoize | cachekit-macros | |
|---|---|---|---|
| Version | 0.2.1 | 0.6.0 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 5 | 5 | 3 |
| Crate Size | 8KB | 8KB | 5KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2018 | 2021 |
| MSRV | — | — | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •memoize leads with a health score of 55/100, but none of the options score above 80.
- •memoize is depended on by 120 crates — strongest ecosystem trust.