Email me

Crates / Compare / smallvec vs arrayvec

Rust crates side by side · data Oct 24, 2026

smallvec vs arrayvec

Short answerBy steady daily use, smallvec is bigger: 3,868,589 real downloads a day against 1,733,744 for arrayvec (2.2x). 4,345 crates depend on smallvec and 1,215 on arrayvec. smallvec last shipped 1 day ago, arrayvec 4 months ago.

smallvec

Widely used

Widely used and steady.

4,345 crates depend on it; downloads don't spike on releases.

'Small vector' optimization: store up to a small number of items on the stack

arrayvec

Widely used

Widely used and steady.

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

A vector with fixed capacity, backed by an array (it can be stored on the stack too). Implements fixed capacity ArrayVec and ArrayString.

50%100%150%Aug 1Sep 1Oct 1

smallvecarrayvec · 100% = that crate's normal quiet day, so a spike to 300% is triple its usual traffic

How they relate

  • Often used together: 1 tracked crate depend on both (schemars). They are not always either/or.

Every number, side by side

Same window, same methodsmallvecarrayvec
Real downloads a day3,868,5891,733,744
Crates that depend on it4,3451,215
Last release1.16.4, 1 day ago0.7.8, 4 months ago
Trend vs the field+0%+3%
Release-window share18.8%0.0%
Downloads in the window339,700,171157,353,540
All-time downloads1,348,060,732640,435,610
Versions published8657
LicenseMIT OR Apache-2.0MIT OR Apache-2.0
MSRVnot set1.51
First publishedApr 6, 2015May 19, 2015

Which to pick

  • Downloads tell you what is common, not what fits. Each crate's own description above says what it is for; when the jobs differ, pick by the job.
  • When both fit, prefer the one more crates depend on (smallvec, 4,345 dependents): more eyes, more answered questions, and you may already have it in your tree.
  • Check the release dates against your own pace: smallvec 1 day ago, arrayvec 4 months ago.

Also in this space

Method

Real downloads = the median day with no release that day or the day before, from the crates.io API (Jul 27, 2026 to Oct 23, 2026). Raw crates.io counts include CI and bots and run high (why); the method is from our 90-day study. People search for this pair: Google suggests "smallvec vs arrayvec".

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

Another comparison: Same method, same window. Widely used and steady vs established and steady.smallvec vs tinyvecRead 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