Crates / rstest / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to rstest
Short answerThe closest alternatives to rstest on crates.io data are assert_cmd (228K real downloads a day), wiremock (310K real downloads a day), static_assertions (1.4M real downloads a day). Of the 8 we list, the most used is static_assertions, and 5 shipped a release in the last year. rstest itself gets 381,347 a day with 3,531 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs rstest | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| assert_cmd Widely used | 228,260 | 0.60x | 5,434 | 5mo | category Testing, keyword "test" | side by side |
| wiremock Widely used | 309,864 | 0.81x | 3,363 | 14mo | keyword "test" | compare |
| static_assertions Widely used | 1,442,265 | 3.78x | 1,688 | 7.0y | category Testing | compare |
| proptest Foundational | 663,355 | 1.74x | 12,243 | 14d | category Testing | compare |
| arbitrary Widely used | 574,083 | 1.51x | 1,030 | 18d | category Testing | compare |
| rusty-fork Pulled in | 504,858 | 1.32x | 87 | 13mo | category Testing | compare |
| serial_test Widely used | 429,325 | 1.13x | 2,974 | 3mo | category Testing | compare |
| serial_test_derive Pulled in | 428,253 | 1.12x | 9 | 3mo | category Testing | compare |
How to choose
- Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with rstest; 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 rstest: 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 rstest, 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 steady. 228,260 real downloads a day.assert_cmdRust crate. Test CLI Applications. Real use: 228K downloads a day on quiet days; 5,434 crates depend on it.Read it next →Also worth your time