Email me

Crates / ref-cast / Alternatives

Rust crate alternatives · data Oct 24, 2026

Alternatives to ref-cast

Short answerThe closest alternatives to ref-cast on crates.io data are thiserror (5M real downloads a day), itertools (4.5M real downloads a day), once_cell (3.8M real downloads a day). Of the 8 we list, the most used is thiserror, and 7 shipped a release in the last year. ref-cast itself gets 1,265,265 a day with 175 dependents.

Every alternative we found

AlternativeReal downloads a dayvs ref-castDependentsLast releaseWhy it is listed
thiserror Foundational5,048,7913.99x75,92331dcategory No standard library, category Rust patternscompare
itertools Widely used4,545,9963.59x8,6564mocategory No dynamic allocation, category No standard librarycompare
once_cell Widely used3,785,1802.99x8,6567mocategory Rust patternscompare
pin-project-lite Widely used3,270,9782.59x1,7088mocategory No dynamic allocation, category No standard librarycompare
zerocopy Established3,245,5042.57x87811dcategory No dynamic allocation, category Rust patternscompare
anyhow Foundational2,875,6382.27x52,1133mocategory No standard library, category Rust patternscompare
scopeguard Established2,724,7182.15x5673.3ycategory No standard library, category Rust patternscompare
zerovec-derive Pulled in2,561,3902.02x62dcategory No standard library, category Rust patternscompare

How to choose

  • Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with ref-cast; read its description before you swap.
  • More dependents means more answered questions and a smaller chance it disappears.
  • Check the last release against how fast you need fixes. For ref-cast: is it still maintained?

Rules

Alternatives = tracked crates (top 1000 by downloads) that share a specific crates.io category (2 points each) or keyword (3 points each) with ref-cast, most similar first; its own parts (same name prefix) and crates it depends on or that depend on it are left out, because those are companions, not substitutes. Real downloads = quiet-day median, crates.io data Oct 24, 2026. Built when we find 3 or more.

Up next

The closest alternative: Foundational and steady. 5,048,791 real downloads a day.thiserrorRust crate. derive(Error). Real use: 5M downloads a day on quiet days; 75,923 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.

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