Crates / Compare / lru vs moka
Rust crates side by side · data Oct 24, 2026
lru vs moka
Short answerBy steady daily use, lru is bigger: 1,188,797 real downloads a day against 527,705 for moka (2.3x). 1,543 crates depend on lru and 743 on moka. lru last shipped 6 days ago, moka 2 months ago.
lru
Widely usedWidely used and steady.
1,543 crates depend on it; downloads don't spike on releases.
A LRU cache implementation
moka
EstablishedEstablished and steady.
743 crates depend on it; downloads don't spike on releases.
A fast and concurrent cache library inspired by Java Caffeine
lrumoka · 100% = that crate's normal quiet day, so a spike to 300% is triple its usual traffic
Every number, side by side
| Same window, same method | lru | moka |
|---|---|---|
| Real downloads a day | 1,188,797 | 527,705 |
| Crates that depend on it | 1,543 | 743 |
| Last release | 0.19.0, 6 days ago | 0.12.16, 2 months ago |
| Trend vs the field | +3% | -8% |
| Release-window share | 11.5% | 1.5% |
| Downloads in the window | 112,260,850 | 43,928,177 |
| All-time downloads | 402,640,109 | 146,809,731 |
| Versions published | 77 | 68 |
| License | MIT | (MIT OR Apache-2.0) AND Apache-2.0 |
| MSRV | 1.85.0 | 1.71.1 |
| First published | Dec 31, 2016 | Oct 22, 2020 |
Which to pick
- Downloads tell you what is common, not what fits. Each crate's own description above says what it is for; when the jobs differ, pick by the job.
- When both fit, prefer the one more crates depend on (lru, 1,543 dependents): more eyes, more answered questions, and you may already have it in your tree.
- Check the release dates against your own pace: lru 6 days ago, moka 2 months ago.
Also in this space
Method
Real downloads = the median day with no release that day or the day before, from the crates.io API (Jul 27, 2026 to Oct 23, 2026). Raw crates.io counts include CI and bots and run high (why); the method is from our 90-day study.
Up next
Another comparison: Same method, same window. Widely used and steady vs established and steady.dashmap vs mokaRead it next →Also worth your time