Crates / rstest_macros / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to rstest_macros
Short answerThe closest alternatives to rstest_macros 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_macros itself gets 365,882 a day with 2 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs rstest_macros | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| assert_cmd Widely used | 228,260 | 0.62x | 5,434 | 5mo | category Testing, keyword "test" | compare |
| wiremock Widely used | 309,864 | 0.85x | 3,363 | 14mo | keyword "test" | compare |
| static_assertions Widely used | 1,442,265 | 3.94x | 1,688 | 7.0y | category Testing | compare |
| proptest Foundational | 663,355 | 1.81x | 12,243 | 14d | category Testing | compare |
| arbitrary Widely used | 574,083 | 1.57x | 1,030 | 18d | category Testing | compare |
| rusty-fork Pulled in | 504,858 | 1.38x | 87 | 13mo | category Testing | compare |
| serial_test Widely used | 429,325 | 1.17x | 2,974 | 3mo | category Testing | compare |
| serial_test_derive Pulled in | 428,253 | 1.17x | 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_macros; 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_macros: 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_macros, 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