Email me

Crates / ctor

Rust crate · real downloads · data Oct 24, 2026

ctor downloads, and should you depend on it?

Global, no_std-compatible constructors for all platforms that run before main (like C/C++ __attribute__((constructor))) crates.io · docs.rs · repository

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

Feature flags + Cargo.toml picker

EstablishedShould you depend on ctor? The data says

Established and gaining.

ctor: 848 crates depend on it; downloads don't spike on releases.

687Kreal downloads a day (quiet-day median)
848crates depend on it
2 monthssince the last release (1.0.13)
+10%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: 572,567 (release window)2026-07-28: 593,5022026-07-29: 578,770 (release window)2026-07-30: 584,714 (release window)2026-07-31: 562,0082026-08-01: 373,1252026-08-02: 358,6882026-08-03: 573,7672026-08-04: 646,2682026-08-05: 617,9322026-08-06: 532,6062026-08-07: 639,8572026-08-08: 385,9812026-08-09: 357,881 (release window)2026-08-10: 586,431 (release window)2026-08-11: 649,0992026-08-12: 632,5932026-08-13: 661,7802026-08-14: 633,3342026-08-15: 415,3162026-08-16: 422,0712026-08-17: 590,3242026-08-18: 656,0972026-08-19: 606,6942026-08-20: 673,0402026-08-21: 664,2622026-08-22: 414,9152026-08-23: 439,4892026-08-24: 673,5032026-08-25: 700,2212026-08-26: 716,4602026-08-27: 729,5102026-08-28: 782,5702026-08-29: 462,0792026-08-30: 398,5172026-08-31: 672,7702026-09-01: 757,9012026-09-02: 758,6782026-09-03: 764,5592026-09-04: 732,0192026-09-05: 499,1112026-09-06: 468,7322026-09-07: 645,5522026-09-08: 783,8922026-09-09: 839,9542026-09-10: 825,7002026-09-11: 728,2222026-09-12: 472,5092026-09-13: 439,8242026-09-14: 783,6032026-09-15: 925,4682026-09-16: 839,1372026-09-17: 910,7922026-09-18: 833,7282026-09-19: 539,8152026-09-20: 519,5612026-09-21: 816,0872026-09-22: 873,2032026-09-23: 916,6602026-09-24: 887,1712026-09-25: 834,0002026-09-26: 547,3742026-09-27: 552,0712026-09-28: 899,4372026-09-29: 922,2502026-09-30: 933,2002026-10-01: 945,2182026-10-02: 906,6562026-10-03: 563,8322026-10-04: 526,0892026-10-05: 828,9862026-10-06: 1,011,8492026-10-07: 967,1932026-10-08: 943,5552026-10-09: 954,6122026-10-10: 614,3882026-10-11: 571,5602026-10-12: 844,1232026-10-13: 1,017,9642026-10-14: 1,054,8262026-10-15: 1,018,4632026-10-16: 932,9772026-10-17: 588,1432026-10-18: 579,8932026-10-19: 973,9122026-10-20: 1,040,8962026-10-21: 1,129,2242026-10-22: 1,144,6782026-10-23: 1,066,798

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

The numbers in one paragraphctor got 63,034,786 crates.io downloads from Jul 27, 2026 to Oct 23, 2026. 4% of them landed within 2 days of one of its 3 releases. On the other 84 quiet days it got a median of 686,862 a day, about 4,808,034 a week. Capping release days at that baseline leaves 63,034,786 release-adjusted downloads for the window.

What this means if you're choosing a dependency

  • Used, not everywhere. 848 crates depend on it. Look at how fast its issues get answered before you lean on it.
  • Actively released. 1.0.13 shipped 2 months ago (Aug 9, 2026).
  • Fit check: license Apache-2.0 OR MIT, edition 2021, needs Rust 1.60 or newer (from the latest version's manifest).
  • Compare it by the baseline, not the raw count. 4% of its 63,034,786 downloads in the window landed within 2 days of a release; the steady number is 686,862 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.

What the chart says

  • Weekend quiet days ran at 58% of weekday quiet days (472,509 vs 816,087). A dip that deep is the signature of work-week CI pipelines and developers building on weekdays.
  • Biggest day: 1,144,678 on Oct 22, 2026, a quiet day with no release nearby.

Every number

All-time downloads225,865,139 (rank #537 on crates.io by all-time downloads)
Downloads in the window63,034,786 (Jul 27, 2026 to Oct 23, 2026, 89 days)
Within 2 days of a release2,680,363 (4.3%)
Quiet-day median (baseline)686,862 a day; weekdays 816,087, weekends 472,509
Release-adjusted downloads63,034,786 (release-window days capped at the baseline)
Baseline rank#526 of the 1000 crates we track
Quiet-day trend+53% raw, +10% against the median tracked crate (+39%)
Releases in the window3
Versions published, ever79
Latest version1.0.13, published Aug 9, 2026 (license Apache-2.0 OR MIT, edition 2021, MSRV 1.60)
First publishedDec 6, 2018
Reverse dependencies848

Releases in the window

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

VersionPublishedDownloads that version got (lifetime)
1.0.13Aug 9, 202610,152,519
1.0.12Jul 29, 20261,434,319
1.0.11Jul 26, 2026480,704

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

ctor 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 build utils: Next in Build Utils by real downloads: 449,319 a day, 1,291 dependents. Widely used and steady.inventoryRust crate. Typed distributed plugin registration. Real use: 449K downloads a day on quiet days; 1,291 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