Email me

Crates / cargo-expand

Rust crate · real downloads · data Oct 27, 2026

cargo-expand downloads, and should you depend on it?

Wrapper around rustc -Zunpretty=expanded. Shows the result of macro expansion and #[derive] expansion. crates.io · docs · repository

alternatives · is it still maintained?

Pulled inShould you depend on cargo-expand? The data says

Few direct dependents and losing ground.

cargo-expand: only 6 crates name it directly; downloads don't spike on releases.

6Kreal downloads a day (quiet-day median)
6crates depend on it
18 dayssince the last release (1.0.127)
-37%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 30, 2026 to Oct 26, 2026, fetched Oct 27, 2026. Downloads are not users: read the baseline as steady use, not a head count.
2026-07-30: 7,9472026-07-31: 7,2042026-08-01: 5,8692026-08-02: 5,8502026-08-03: 8,3092026-08-04: 8,4392026-08-05: 7,8452026-08-06: 7,2982026-08-07: 7,2292026-08-08: 5,5842026-08-09: 5,7152026-08-10: 6,8502026-08-11: 6,5242026-08-12: 7,1702026-08-13: 6,8632026-08-14: 5,9562026-08-15: 5,6112026-08-16: 5,3102026-08-17: 6,4552026-08-18: 6,1142026-08-19: 6,175 (release window)2026-08-20: 7,299 (release window)2026-08-21: 7,1102026-08-22: 6,1772026-08-23: 5,5562026-08-24: 5,5852026-08-25: 5,7652026-08-26: 5,5312026-08-27: 6,4002026-08-28: 4,8772026-08-29: 5,0652026-08-30: 4,3072026-08-31: 5,6212026-09-01: 6,5742026-09-02: 6,3152026-09-03: 6,8262026-09-04: 6,1862026-09-05: 7,3782026-09-06: 6,4662026-09-07: 6,0492026-09-08: 7,1732026-09-09: 7,7252026-09-10: 6,7582026-09-11: 6,3732026-09-12: 6,2132026-09-13: 5,0882026-09-14: 5,9052026-09-15: 5,7362026-09-16: 6,5052026-09-17: 6,7712026-09-18: 6,7362026-09-19: 4,7622026-09-20: 5,6012026-09-21: 5,8102026-09-22: 6,0802026-09-23: 6,4362026-09-24: 6,3702026-09-25: 5,5312026-09-26: 5,0622026-09-27: 4,8652026-09-28: 6,5702026-09-29: 6,9192026-09-30: 6,4942026-10-01: 7,2572026-10-02: 6,6412026-10-03: 5,0622026-10-04: 4,5892026-10-05: 5,9382026-10-06: 6,3132026-10-07: 5,9672026-10-08: 6,3302026-10-09: 6,544 (release window)2026-10-10: 5,856 (release window)2026-10-11: 4,8692026-10-12: 5,9992026-10-13: 6,3302026-10-14: 5,4222026-10-15: 5,5162026-10-16: 5,7102026-10-17: 4,2722026-10-18: 4,5542026-10-19: 5,3212026-10-20: 5,3802026-10-21: 5,2542026-10-22: 5,4812026-10-23: 5,1852026-10-24: 3,8922026-10-25: 3,7602026-10-26: 5,517

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

The numbers in one paragraphcargo-expand got 539,846 crates.io downloads from Jul 30, 2026 to Oct 26, 2026. 5% of them landed within 2 days of one of its 3 releases. On the other 85 quiet days it got a median of 5,999 a day, about 41,993 a week. Capping release days at that baseline leaves 537,825 release-adjusted downloads for the window.

What this means if you're choosing a dependency

  • You rarely add this one yourself. Only 6 crates name it directly.
  • Actively released. 1.0.127 shipped 18 days ago (Oct 9, 2026).
  • Fit check: license MIT OR Apache-2.0, edition 2021, needs Rust 1.90 or newer (from the latest version's manifest).
  • Compare it by the baseline, not the raw count. 5% of its 539,846 downloads in the window landed within 2 days of a release; the steady number is 5,999 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 80% of weekday quiet days (5,088 vs 6,350). A moderate dip: a mix of work-week builds and always-on automation.
  • Biggest day: 8,439 on Aug 4, 2026, a quiet day with no release nearby.

Every number

All-time downloads3,767,459 (outside the crates.io top 1,000 by all-time downloads)
Downloads in the window539,846 (Jul 30, 2026 to Oct 26, 2026, 89 days)
Within 2 days of a release25,874 (4.8%)
Quiet-day median (baseline)5,999 a day; weekdays 6,350, weekends 5,088
Release-adjusted downloads537,825 (release-window days capped at the baseline)
Baseline rank#1200 of the 1329 crates we track
Quiet-day trend-13% raw, -37% against the median tracked crate (+39%)
Releases in the window3
Versions published, ever182
Latest version1.0.127, published Oct 9, 2026 (license MIT OR Apache-2.0, edition 2021, MSRV 1.90)
First publishedJun 5, 2016
Reverse dependencies6

Releases in the window

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

VersionPublishedDownloads that version got (lifetime)
1.0.127Oct 9, 202640,232
1.0.126Aug 19, 2026164,277
1.0.125Aug 19, 2026111

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 cargo-expand 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

cargo-expand 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 cargo plugins: Next in Cargo plugins by real downloads: 5,423 a day, 9 dependents. Few direct dependents and losing ground.cargo-editRust crate. Cargo commands for modifying a `Cargo.toml` file. Real use: 5.4K downloads a day on quiet days; 9 crates depend on it.Read it next →

Art: Nicholas Roerich, Nag Lake (1925). Public domain, via Wikimedia Commons.

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