Crates / Compare / mockall vs wiremock
Rust crates side by side · data Oct 24, 2026
mockall vs wiremock
Short answerBy steady daily use, mockall is bigger: 406,667 real downloads a day against 309,864 for wiremock (1.3x). 1,393 crates depend on mockall and 3,363 on wiremock. mockall last shipped 4 months ago, wiremock 14 months ago.
mockall
Widely usedWidely used and losing ground.
1,393 crates depend on it; no release in the last 90 days, so its count is all steady use.
A powerful mock object library for Rust.
wiremock
Widely usedWidely used and gaining.
3,363 crates depend on it; no release in the last 90 days, so its count is all steady use.
HTTP mocking to test Rust applications.
mockallwiremock · 100% = that crate's normal quiet day, so a spike to 300% is triple its usual traffic
Every number, side by side
| Same window, same method | mockall | wiremock |
|---|---|---|
| Real downloads a day | 406,667 | 309,864 |
| Crates that depend on it | 1,393 | 3,363 |
| Last release | 0.15.0, 4 months ago | 0.6.5, 14 months ago |
| Trend vs the field | -15% | +27% |
| Release-window share | 0.0% | 0.0% |
| Downloads in the window | 32,360,245 | 29,545,412 |
| All-time downloads | 182,977,121 | 93,664,506 |
| Versions published | 34 | 53 |
| License | MIT OR Apache-2.0 | MIT/Apache-2.0 |
| MSRV | 1.77.0 | not set |
| First published | Jul 3, 2019 | Apr 13, 2020 |
Which to pick
- Downloads tell you what is common, not what fits. Each crate's own description above says what it is for; when the jobs differ, pick by the job.
- When both fit, prefer the one more crates depend on (wiremock, 3,363 dependents): more eyes, more answered questions, and you may already have it in your tree.
- Check the release dates against your own pace: mockall 4 months ago, wiremock 14 months ago.
Also in this space
Method
Real downloads = the median day with no release that day or the day before, from the crates.io API (Jul 27, 2026 to Oct 23, 2026). Raw crates.io counts include CI and bots and run high (why); the method is from our 90-day study.
Up next
Another comparison: Same method, same window. Foundational and steady vs widely used and steady.reqwest vs ureqRead it next →Also worth your time