Crates / arbitrary / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to arbitrary
Short answerThe closest alternatives to arbitrary on crates.io data are static_assertions (1.4M real downloads a day), proptest (663K real downloads a day), rusty-fork (505K real downloads a day). Of the 8 we list, the most used is static_assertions, and 6 shipped a release in the last year. arbitrary itself gets 574,083 a day with 1,030 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs arbitrary | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| static_assertions Widely used | 1,442,265 | 2.51x | 1,688 | 7.0y | category Testing, keyword "testing" | side by side |
| proptest Foundational | 663,355 | 1.16x | 12,243 | 14d | category Testing, keyword "testing" | compare |
| rusty-fork Pulled in | 504,858 | 0.88x | 87 | 13mo | category Testing, keyword "testing" | compare |
| serial_test Widely used | 429,325 | 0.75x | 2,974 | 3mo | category Testing, keyword "testing" | compare |
| mockall Widely used | 406,667 | 0.71x | 1,393 | 4mo | category Testing, keyword "testing" | compare |
| mockall_derive Pulled in | 406,392 | 0.71x | 2 | 4mo | category Testing, keyword "testing" | compare |
| insta Widely used | 379,798 | 0.66x | 4,970 | 21d | category Testing, keyword "testing" | compare |
| crypto-bigint Established | 937,488 | 1.63x | 167 | 1d | keyword "arbitrary" | compare |
How to choose
- Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with arbitrary; 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 arbitrary: 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 arbitrary, 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: Widely used and quiet for years. 1,442,265 real downloads a day.static_assertionsRust crate. Compile-time assertions to ensure that invariants are met. Real use: 1.4M downloads a day on quiet days; 1,688 crates depend on it.Read it next →Also worth your time