Decision Workspace
algorithm vs algorithm-macro vs cachelito
Side-by-side comparison of Rust crates
45
algorithm
growingv0.1.18
about algorithm data structure, now has ttl with lru/lru-k/lfu/arc and slab/rbtree/roaring_bitmap/timer_wheelss, 关于算法常用的数据结构
35
algorithm-macro
growingv0.1.0
about algorithm data structure, now has ttl with lru/lru-k/lfu/arc and slab/rbtree/roaring_bitmap/timer_wheelss, 关于算法常用的数据结构
55
cachelito
experimentalv0.16.0
Procedural macro for automatic function caching with LRU/FIFO/LFU/ARC/Random/TLRU/W-TinyLFU policies, expiration, limits, and thread-local or global scope
Core Metrics
| algorithm | algorithm-macro | cachelito | |
|---|---|---|---|
| Health Score | 45 | 35 | 55 |
| Total Downloads | 19.4K | 3.0K | 427 |
| 30d Downloads | 114 | 123 | 28 |
| Dependents | 8 | 11 | 0 |
| Releases | 17 | 1 | 13 |
| Last Updated | 394d ago | 566d ago | 78d ago |
| Age | 1y 10m | 1y 6m | 4m |
Health Breakdown
algorithm
Maintenance
8
Quality
16
Community
6
Popularity
5
Documentation
10
algorithm-macro
Maintenance
1
Quality
14
Community
6
Popularity
4
Documentation
10
cachelito
Maintenance
16
Quality
15
Community
6
Popularity
3
Documentation
15
Technical Details
| algorithm | algorithm-macro | cachelito | |
|---|---|---|---|
| Version | 0.1.18 | 0.1.0 | 0.16.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 | Apache-2.0 | Apache-2.0 |
| Dependencies | 7 | 4 | 5 |
| Crate Size | 85KB | 4KB | 40KB |
| Features | 3 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | 1.70.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cachelito leads with a health score of 55/100, but none of the options score above 80.
- •algorithm has the most downloads (19.4K), suggesting wider adoption.
- •⚠ algorithm, algorithm-macro have not been updated in over a year.