Crates / lru-cache / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to lru-cache
Short answerThe closest alternatives to lru-cache on crates.io data are litemap (2.6M real downloads a day), icu_collections (2.5M real downloads a day), bit-vec (1.7M real downloads a day). Of the 6 we list, the most used is litemap, and 5 shipped a release in the last year. lru-cache itself gets 132,954 a day with 83 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs lru-cache | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| litemap Pulled in | 2,551,206 | 19.19x | 31 | 2mo | keyword "data-structures" | compare |
| icu_collections Pulled in | 2,507,923 | 18.86x | 25 | 2d | keyword "data-structures" | compare |
| bit-vec Established | 1,706,297 | 12.83x | 299 | 3mo | keyword "data-structures" | compare |
| bit-set Established | 1,499,523 | 11.28x | 168 | 3mo | keyword "data-structures" | compare |
| hashlink Established | 1,322,396 | 9.95x | 133 | 47d | keyword "data-structures" | compare |
| vec_map Pulled in | 203,813 | 1.53x | 69 | 6.5y | keyword "data-structures" | compare |
How to choose
- Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with lru-cache; read its description before you swap.
- More dependents means more answered questions and a smaller chance it disappears.
- Check the last release against how fast you need fixes. For lru-cache: is it still maintained?
Rules
Alternatives = tracked crates (top 1000 by downloads) that share a specific crates.io category (2 points each) or keyword (3 points each) with lru-cache, most similar first; its own parts (same name prefix) and crates it depends on or that depend on it are left out, because those are companions, not substitutes. Real downloads = quiet-day median, crates.io data Oct 24, 2026. Built when we find 3 or more.
Up next
The closest alternative: Few direct dependents and steady. 2,551,206 real downloads a day.litemapRust crate. A key-value Map implementation based on a flat, sorted Vec. Real use: 2.6M downloads a day on quiet days; 31 crates depend on it.Read it next →Also worth your time