Email me

Crates / once_cell

Rust crate · real downloads · data Oct 24, 2026

once_cell downloads, and should you depend on it?

Single assignment cells and lazy values. crates.io · docs · repository

Widely usedShould you depend on once_cell? The data says

Widely used and steady.

once_cell: 8,656 crates depend on it; no release in the last 90 days, so its count is all steady use.

3.8Mreal downloads a day (quiet-day median)
8,656crates depend on it
7 monthssince the last release (1.21.4)
-1%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 +36% 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.
2M4M2026-07-27: 3,311,7612026-07-28: 3,478,5742026-07-29: 3,521,4192026-07-30: 3,473,6532026-07-31: 3,297,0372026-08-01: 2,368,3672026-08-02: 2,323,6842026-08-03: 3,439,9672026-08-04: 3,612,9442026-08-05: 3,670,3052026-08-06: 3,005,3042026-08-07: 3,444,9662026-08-08: 2,163,2112026-08-09: 2,073,5482026-08-10: 3,387,3702026-08-11: 3,554,9352026-08-12: 3,610,1092026-08-13: 3,672,2202026-08-14: 3,516,7182026-08-15: 2,287,1202026-08-16: 2,213,6802026-08-17: 3,436,0252026-08-18: 3,797,5922026-08-19: 3,652,6382026-08-20: 3,938,3212026-08-21: 3,785,1802026-08-22: 2,373,0372026-08-23: 2,343,5762026-08-24: 3,726,0312026-08-25: 3,967,8222026-08-26: 3,965,7232026-08-27: 4,016,7632026-08-28: 3,945,2642026-08-29: 2,457,7922026-08-30: 2,341,6572026-08-31: 3,806,3422026-09-01: 4,294,8842026-09-02: 4,422,0102026-09-03: 4,250,0792026-09-04: 4,006,1932026-09-05: 2,868,5642026-09-06: 2,662,9692026-09-07: 3,445,2222026-09-08: 4,041,6702026-09-09: 4,183,2942026-09-10: 4,091,2442026-09-11: 3,741,4752026-09-12: 2,550,5232026-09-13: 2,391,4432026-09-14: 3,932,3662026-09-15: 4,283,1252026-09-16: 4,040,2772026-09-17: 4,072,4072026-09-18: 3,888,1622026-09-19: 2,537,9742026-09-20: 2,562,5932026-09-21: 3,858,8782026-09-22: 4,103,9542026-09-23: 4,308,0092026-09-24: 4,410,6872026-09-25: 4,175,8822026-09-26: 2,826,2672026-09-27: 2,830,6172026-09-28: 4,551,6672026-09-29: 4,665,9442026-09-30: 4,655,3972026-10-01: 4,751,2822026-10-02: 4,447,3412026-10-03: 3,123,0602026-10-04: 2,990,6882026-10-05: 4,333,0862026-10-06: 4,739,0912026-10-07: 4,852,1702026-10-08: 5,037,3482026-10-09: 4,795,5502026-10-10: 3,467,6282026-10-11: 3,243,5632026-10-12: 4,676,3272026-10-13: 5,281,8202026-10-14: 5,583,8442026-10-15: 5,357,6352026-10-16: 4,997,6252026-10-17: 3,360,2792026-10-18: 3,295,6022026-10-19: 5,286,9122026-10-20: 5,612,3702026-10-21: 5,926,4802026-10-22: 5,917,5592026-10-23: 5,522,162Jul 27Aug 1Sep 1Oct 1

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

The numbers in one paragraphonce_cell got 336,233,853 crates.io downloads from Jul 27, 2026 to Oct 23, 2026 with no new version in that window, so every day is a quiet day: a median of 3,785,180 a day, about 26,496,260 a week. With no release spikes to remove, its whole count is the steady baseline.

What this means if you're choosing a dependency

  • Well trodden. 8,656 crates depend on it, so common problems tend to have public answers and breaking changes get noticed fast.
  • Released this year. The latest version, 1.21.4, is from Mar 12, 2026 (7 months ago).
  • Fit check: license MIT OR Apache-2.0, edition 2021, needs Rust 1.65 or newer (from the latest version's manifest).
  • Its raw count is a fair read. Under 1% of its downloads in the window came from release windows, so the raw number and the baseline (3,785,180 a day) tell the same story.

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.

Comparisons people search for

Its place in the dependency graph

Built on once_cell

8 of the 300 crates we track depend on it directly (biggest first).

once_cell builds on

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

What the chart says

  • Weekend quiet days ran at 63% of weekday quiet days (2,544,248 vs 4,040,277). A dip that deep is the signature of work-week CI pipelines and developers building on weekdays.
  • Biggest day: 5,926,480 on Oct 21, 2026, a quiet day with no release nearby.

Every number

All-time downloads1,416,715,677 (rank #27 on crates.io by all-time downloads)
Downloads in the window336,233,853 (Jul 27, 2026 to Oct 23, 2026, 89 days)
Within 2 days of a release0 (0.0%)
Quiet-day median (baseline)3,785,180 a day; weekdays 4,040,277, weekends 2,544,248
Release-adjusted downloads336,233,853 (release-window days capped at the baseline)
Baseline rank#34 of the 300 crates we track
Quiet-day trend+35% raw, -1% against the median tracked crate (+36%)
Releases in the window0
Versions published, ever67
Latest version1.21.4, published Mar 12, 2026 (license MIT OR Apache-2.0, edition 2021, MSRV 1.65)
First publishedAug 2, 2018
Reverse dependencies8,656

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 once_cell 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

once_cell 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

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.

Up next

The question people ask next: People search "once_cell vs lazy_static". Both side by side: real downloads, dependents, release habits and the verdict for each.once_cell vs lazy_staticRead it next →

Also worth your time

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