Crates / num-traits / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to num-traits
Short answerThe closest alternatives to num-traits on crates.io data are number_prefix (280K real downloads a day), smawk (273K real downloads a day), funty (764K real downloads a day). Of the 8 we list, the most used is rand, and 5 shipped a release in the last year. num-traits itself gets 2,894,023 a day with 7,561 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs num-traits | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| number_prefix Pulled in | 280,493 | 0.10x | 39 | 6.5y | category Algorithms, category No standard library, keyword "mathematics", keyword "numerics" | compare |
| smawk Pulled in | 273,437 | 0.09x | 3 | 4mo | category Algorithms, category Science | compare |
| funty Pulled in | 764,480 | 0.26x | 40 | 3.7y | category No standard library, keyword "numerics" | compare |
| rand Foundational | 5,938,557 | 2.05x | 33,204 | 34d | category Algorithms, category No standard library | compare |
| rand_core Widely used | 5,860,713 | 2.03x | 2,597 | 52d | category Algorithms, category No standard library | compare |
| itertools Widely used | 4,545,996 | 1.57x | 8,656 | 4mo | category Algorithms, category No standard library | compare |
| rand_chacha Widely used | 4,016,327 | 1.39x | 1,903 | 9mo | category Algorithms, category No standard library | compare |
| foldhash Established | 3,043,165 | 1.05x | 333 | 14mo | category Algorithms, category No standard library | compare |
How to choose
- Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with num-traits; 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 num-traits: 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 num-traits, 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 losing ground. 280,493 real downloads a day.number_prefixRust crate. Library for numeric prefixes (kilo, giga, kibi). Real use: 280K downloads a day on quiet days; 39 crates depend on it.Read it next →Also worth your time