Email me

Crates / lru

Rust crate · real downloads · data Oct 24, 2026

lru downloads, and should you depend on it?

A LRU cache implementation crates.io · docs · repository

Owned on crates.io by jeromefroe · alternatives · is it still maintained?

Feature flags + Cargo.toml picker · Security history

Widely usedShould you depend on lru? The data says

Widely used and steady.

lru: 1,543 crates depend on it; downloads don't spike on releases.

1.2Mreal downloads a day (quiet-day median)
1,543crates depend on it
6 dayssince the last release (0.19.0)
+3%quiet-day trend vs the field, 90 days
How this verdict is decided (4 rules)
  • Usage: crates.io reverse dependencies (crates that list it as a dependency): 10,000+ = foundational, 1,000+ = widely used, 100+ = established, under 100 = few direct dependents.
  • Direction: the median quiet day in the last 30 days of the window against the first 30, read against the median tracked crate (the whole field moved +39% from late summer to October, so a raw trend says nothing). 10%+ ahead of the field = gaining; 10%+ behind = losing ground; otherwise steady. Steady with no release in 2+ years = quiet for years.
  • Release spikes: the median release-window day against the quiet-day baseline: under 1.15x = no spike, 1.15x to 1.3x = small bumps, 1.3x or more = jumps on release days.
  • Release recency: days since the newest version that was not yanked, from crates.io publish times.
Data: crates.io API, Jul 27, 2026 to Oct 23, 2026, fetched Oct 24, 2026. Downloads are not users: read the baseline as steady use, not a head count.
2026-07-27: 1,073,5242026-07-28: 1,202,7852026-07-29: 1,152,7302026-07-30: 1,153,3932026-07-31: 1,073,9202026-08-01: 657,2482026-08-02: 611,1342026-08-03: 1,104,025 (release window)2026-08-04: 1,199,320 (release window)2026-08-05: 1,180,4842026-08-06: 980,3872026-08-07: 1,127,3782026-08-08: 607,1962026-08-09: 592,3582026-08-10: 1,102,8952026-08-11: 1,168,9322026-08-12: 1,170,3992026-08-13: 1,214,5852026-08-14: 1,112,9832026-08-15: 672,5922026-08-16: 665,4882026-08-17: 1,096,8372026-08-18: 1,188,7972026-08-19: 1,129,0682026-08-20: 1,269,6922026-08-21: 1,165,4842026-08-22: 674,4112026-08-23: 679,9672026-08-24: 1,171,6942026-08-25: 1,214,2592026-08-26: 1,226,4852026-08-27: 1,308,8702026-08-28: 1,311,193 (release window)2026-08-29: 701,112 (release window)2026-08-30: 659,4682026-08-31: 1,188,1972026-09-01: 1,374,2732026-09-02: 1,447,3242026-09-03: 1,412,323 (release window)2026-09-04: 1,273,405 (release window)2026-09-05: 796,0452026-09-06: 740,6052026-09-07: 1,070,3102026-09-08: 1,331,8452026-09-09: 1,380,8472026-09-10: 1,372,9892026-09-11: 1,241,7372026-09-12: 720,6922026-09-13: 676,7752026-09-14: 1,324,9162026-09-15: 1,513,3352026-09-16: 1,441,5402026-09-17: 1,553,3772026-09-18: 1,394,4832026-09-19: 804,5652026-09-20: 787,1012026-09-21: 1,348,2572026-09-22: 1,464,3282026-09-23: 1,554,863 (release window)2026-09-24: 1,554,375 (release window)2026-09-25: 1,458,7432026-09-26: 860,5492026-09-27: 864,7632026-09-28: 1,573,5392026-09-29: 1,623,8002026-09-30: 1,571,4612026-10-01: 1,597,2462026-10-02: 1,543,9692026-10-03: 948,2352026-10-04: 909,6892026-10-05: 1,532,2942026-10-06: 1,831,7382026-10-07: 1,867,8042026-10-08: 1,874,4332026-10-09: 1,777,5312026-10-10: 1,106,0772026-10-11: 992,4482026-10-12: 1,551,3972026-10-13: 1,896,5452026-10-14: 2,051,5882026-10-15: 1,916,8392026-10-16: 1,770,3182026-10-17: 1,006,9702026-10-18: 958,947 (release window)2026-10-19: 1,865,286 (release window)2026-10-20: 1,993,7612026-10-21: 2,253,1112026-10-22: 2,424,6402026-10-23: 2,247,529

release window (release day + next day)quiet dayquiet-day median · download the 89 days as CSV

The numbers in one paragraphlru got 112,260,850 crates.io downloads from Jul 27, 2026 to Oct 23, 2026. 12% of them landed within 2 days of one of its 5 releases. On the other 79 quiet days it got a median of 1,188,797 a day, about 8,321,579 a week. Capping release days at that baseline leaves 110,411,664 release-adjusted downloads for the window.

What this means if you're choosing a dependency

  • Well trodden. 1,543 crates depend on it, so common problems tend to have public answers and breaking changes get noticed fast.
  • Actively released. 0.19.0 shipped 6 days ago (Oct 18, 2026).
  • Still pre-1.0 (0.19.0). Under Cargo's semver rules a 0.x minor bump may break you, so pin the minor version (lru = "0.19") and read the changelog on upgrades.
  • Fit check: license MIT, needs Rust 1.85.0 or newer (from the latest version's manifest).
  • Compare it by the baseline, not the raw count. 12% of its 112,260,850 downloads in the window landed within 2 days of a release; the steady number is 1,188,797 a day.

Alternatives that do a similar job

Crates that share its crates.io category or keywords, most similar first. Each line is the crate's own description, then how it compares on the same data.

Its place in the dependency graph

Built on lru

3 of the 1000 crates we track depend on it directly (biggest first).

lru builds on

Tracked crates its latest version (0.19.0) depends on (optional ones marked).

What the chart says

  • Weekend quiet days ran at 53% of weekday quiet days (730,648 vs 1,372,989). A dip that deep is the signature of work-week CI pipelines and developers building on weekdays.
  • Biggest day: 2,424,640 on Oct 22, 2026, a quiet day with no release nearby.

Every number

All-time downloads402,640,109 (rank #336 on crates.io by all-time downloads)
Downloads in the window112,260,850 (Jul 27, 2026 to Oct 23, 2026, 89 days)
Within 2 days of a release12,934,849 (11.5%)
Quiet-day median (baseline)1,188,797 a day; weekdays 1,372,989, weekends 730,648
Release-adjusted downloads110,411,664 (release-window days capped at the baseline)
Baseline rank#324 of the 1000 crates we track
Quiet-day trend+43% raw, +3% against the median tracked crate (+39%)
Releases in the window5
Versions published, ever77
Latest version0.19.0, published Oct 18, 2026 (license MIT, MSRV 1.85.0)
First publishedDec 31, 2016
Reverse dependencies1,543

Releases in the window

Each one opens a 2-day release window on the chart.

VersionPublishedDownloads that version got (lifetime)
0.19.0Oct 18, 202633,803
0.18.5Sep 23, 20267,676,722
0.18.4Sep 3, 20266,361,449
0.18.3Aug 28, 20262,988,984
0.18.2Aug 3, 20268,440,924

How we compute this

crates.io counts every download, including CI runners, mirrors and bots that fetch each new version, so raw counts run high (why, in The Manual). We split the last 89 days into release windows (the day a version of lru was published, plus the next day) and quiet days, and use the median quiet day as the baseline: an upper bound on steady use, never a head count. The method and data come from our study of 90 days of crates.io data from 69 crates, featured in This Week in Rust #674; check any crate live with the real-downloads checker.

Badge for your README

Maintainers can show the baseline in a README. It is optional, updates when we refresh the data, and links back here. Preview, then copy:

README, light

lru real downloads per day badge

README, dark

Publishing a crate of your own? How to publish a Rust crate to crates.io, step by step.

Categories

Sources

Up next

Next in caching: Next in Caching by real downloads: 527,705 a day, 743 dependents. Established and steady.mokaRust crate. A fast and concurrent cache library inspired by Java Caffeine. Real use: 528K downloads a day on quiet days; 743 crates depend on it.Read it next →

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Cite this

Free to cite and reuse under CC BY 4.0 with a link back. How it was collected: methods. Spotted an error? Corrections.

Did this answer your question?

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ