Email me

Crates / compact_str

Rust crate · real downloads · data Oct 24, 2026

compact_str downloads, and should you depend on it?

A memory efficient string type that transparently stores strings on the stack, when possible crates.io · docs.rs · repository

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

EstablishedShould you depend on compact_str? The data says

Established and gaining.

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

712Kreal downloads a day (quiet-day median)
575crates depend on it
3 monthssince the last release (0.10.0)
+13%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: 554,3462026-07-28: 644,0242026-07-29: 619,5712026-07-30: 599,3532026-07-31: 560,7472026-08-01: 352,6032026-08-02: 331,5822026-08-03: 572,5892026-08-04: 638,8572026-08-05: 647,7222026-08-06: 535,5812026-08-07: 644,4592026-08-08: 351,0462026-08-09: 339,9332026-08-10: 638,1592026-08-11: 684,0252026-08-12: 676,6712026-08-13: 710,2452026-08-14: 701,8042026-08-15: 407,8702026-08-16: 382,7952026-08-17: 637,5662026-08-18: 712,6832026-08-19: 686,1952026-08-20: 769,6422026-08-21: 707,4492026-08-22: 403,8912026-08-23: 386,5232026-08-24: 712,1062026-08-25: 769,8352026-08-26: 752,6302026-08-27: 808,6652026-08-28: 813,1212026-08-29: 435,9562026-08-30: 386,4062026-08-31: 701,5912026-09-01: 839,5212026-09-02: 877,8012026-09-03: 850,5962026-09-04: 754,5802026-09-05: 473,1632026-09-06: 427,0402026-09-07: 600,6902026-09-08: 808,9912026-09-09: 827,3462026-09-10: 826,9812026-09-11: 756,9272026-09-12: 431,5072026-09-13: 394,3582026-09-14: 760,2902026-09-15: 870,6482026-09-16: 863,5542026-09-17: 958,8322026-09-18: 850,5652026-09-19: 486,4222026-09-20: 473,7952026-09-21: 804,2802026-09-22: 895,1252026-09-23: 963,1372026-09-24: 971,6612026-09-25: 914,1142026-09-26: 526,9712026-09-27: 544,8792026-09-28: 958,4892026-09-29: 995,3812026-09-30: 1,002,7102026-10-01: 1,020,5412026-10-02: 994,6522026-10-03: 637,8072026-10-04: 599,6312026-10-05: 1,001,3662026-10-06: 1,164,6822026-10-07: 1,164,1692026-10-08: 1,119,5772026-10-09: 1,079,2762026-10-10: 650,2942026-10-11: 589,5602026-10-12: 903,4372026-10-13: 1,130,6402026-10-14: 1,223,4762026-10-15: 1,140,5232026-10-16: 1,056,6972026-10-17: 632,0902026-10-18: 597,9662026-10-19: 1,160,1812026-10-20: 1,210,1692026-10-21: 1,393,9392026-10-22: 1,496,8092026-10-23: 1,373,674

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

The numbers in one paragraphcompact_str got 67,329,751 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 712,106 a day, about 4,984,742 a week. With no release spikes to remove, its whole count is the steady baseline.

What this means if you're choosing a dependency

  • Used, not everywhere. 575 crates depend on it. Look at how fast its issues get answered before you lean on it.
  • Released this year. The latest version, 0.10.0, is from Jul 13, 2026 (3 months ago).
  • Still pre-1.0 (0.10.0). Under Cargo's semver rules a 0.x minor bump may break you, so pin the minor version (compact_str = "0.10") and read the changelog on upgrades.
  • Fit check: license MIT, edition 2021, needs Rust 1.71 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 (712,106 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.

Its place in the dependency graph

compact_str builds on

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

What the chart says

  • Weekend quiet days ran at 52% of weekday quiet days (433,732 vs 826,981). A dip that deep is the signature of work-week CI pipelines and developers building on weekdays.
  • Biggest day: 1,496,809 on Oct 22, 2026, a quiet day with no release nearby.

Every number

All-time downloads190,826,276 (rank #600 on crates.io by all-time downloads)
Downloads in the window67,329,751 (Jul 27, 2026 to Oct 23, 2026, 89 days)
Within 2 days of a release0 (0.0%)
Quiet-day median (baseline)712,106 a day; weekdays 826,981, weekends 433,732
Release-adjusted downloads67,329,751 (release-window days capped at the baseline)
Baseline rank#510 of the 1000 crates we track
Quiet-day trend+57% raw, +13% against the median tracked crate (+39%)
Releases in the window0
Versions published, ever23
Latest version0.10.0, published Jul 13, 2026 (license MIT, edition 2021, MSRV 1.71)
First publishedSep 20, 2021
Reverse dependencies575

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

compact_str 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 memory management: Next in Memory management by real downloads: 640,306 a day, 65 dependents. Few direct dependents and losing ground.id-arenaRust crate. A simple, id-based arena. Real use: 640K downloads a day on quiet days; 65 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