Crates / wiremock / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to wiremock
Short answerThe closest alternatives to wiremock on crates.io data are mockall (407K real downloads a day), mockall_derive (406K real downloads a day), h2 (2.3M real downloads a day). Of the 8 we list, the most used is http-body, and 7 shipped a release in the last year. wiremock itself gets 309,864 a day with 3,363 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs wiremock | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| mockall Widely used | 406,667 | 1.31x | 1,393 | 4mo | keyword "mock", keyword "mocking" | side by side |
| mockall_derive Pulled in | 406,392 | 1.31x | 2 | 4mo | keyword "mock", keyword "mocking" | compare |
| h2 Established | 2,290,495 | 7.39x | 296 | 18d | category Asynchronous, keyword "http" | compare |
| tower-http Widely used | 2,044,149 | 6.60x | 3,782 | 54d | category Asynchronous, keyword "http" | compare |
| axum Widely used | 1,587,646 | 5.12x | 9,968 | 6mo | category Asynchronous, keyword "http" | compare |
| axum-core Established | 1,571,431 | 5.07x | 191 | 10mo | category Asynchronous, keyword "http" | compare |
| http-body Widely used | 2,784,335 | 8.99x | 1,124 | 3mo | keyword "http" | compare |
| idna Established | 2,577,546 | 8.32x | 246 | 14mo | keyword "http" | compare |
How to choose
- Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with wiremock; 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 wiremock: 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 wiremock, 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 losing ground. 406,667 real downloads a day.mockallRust crate. A powerful mock object library for Rust. Real use: 407K downloads a day on quiet days; 1,393 crates depend on it.Read it next →Also worth your time