Email me

Crates / mockall / Alternatives

Rust crate alternatives · data Oct 24, 2026

Alternatives to mockall

Short answerThe closest alternatives to mockall on crates.io data are wiremock (310K real downloads a day), static_assertions (1.4M real downloads a day), proptest (663K real downloads a day). Of the 8 we list, the most used is static_assertions, and 5 shipped a release in the last year. mockall itself gets 406,667 a day with 1,393 dependents.

Every alternative we found

AlternativeReal downloads a dayvs mockallDependentsLast releaseWhy it is listed
wiremock Widely used309,8640.76x3,36314mokeyword "mock", keyword "mocking"side by side
static_assertions Widely used1,442,2653.55x1,6887.0ycategory Testing, keyword "testing"compare
proptest Foundational663,3551.63x12,24314dcategory Testing, keyword "testing"compare
arbitrary Widely used574,0831.41x1,03018dcategory Testing, keyword "testing"compare
rusty-fork Pulled in504,8581.24x8713mocategory Testing, keyword "testing"compare
serial_test Widely used429,3251.06x2,9743mocategory Testing, keyword "testing"compare
insta Widely used379,7980.93x4,97021dcategory Testing, keyword "testing"compare
derive_arbitrary Pulled in369,8970.91x918dcategory Testing, keyword "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 mockall; 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 mockall: 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 mockall, 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 gaining. 309,864 real downloads a day.wiremockRust crate. HTTP mocking to test Rust applications. Real use: 310K downloads a day on quiet days; 3,363 crates depend on it.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