Email me

Crates / cast / Alternatives

Rust crate alternatives · data Oct 24, 2026

Alternatives to cast

Short answerThe closest alternatives to cast on crates.io data are num-conv (2.1M real downloads a day), itoa (4.3M real downloads a day), zmij (3.4M real downloads a day). Of the 8 we list, the most used is itoa, and 8 shipped a release in the last year. cast itself gets 788,776 a day with 108 dependents.

Every alternative we found

AlternativeReal downloads a dayvs castDependentsLast releaseWhy it is listed
num-conv Pulled in2,114,4792.68x45mokeyword "cast", keyword "integer"compare
itoa Established4,278,8395.42x7917mokeyword "integer"compare
zmij Pulled in3,408,7004.32x963mokeyword "float"compare
zerocopy Established3,245,5044.11x87811dkeyword "cast"compare
ryu Established3,105,5833.94x3908mokeyword "float"compare
deranged Pulled in2,065,9342.62x2511dkeyword "integer"compare
crypto-bigint Established937,4881.19x1671dkeyword "integer"compare
serde_repr Widely used895,5701.14x1,2373mokeyword "integer"compare

How to choose

  • Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with 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 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 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: Few direct dependents and steady. 2,114,479 real downloads a day.num-convRust crate. `num_conv` is a crate to convert between integer types without using `as` casts. This provides better certainty when refactoring, makes the exact behavior of...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