wiremock
HTTP mocking to test Rust applications.
0.6.5
71M downloads/mo
#990 most downloaded on crates.io
LukeMathWalker/wiremock-rs
What this package is like to depend on
Last release 12 months ago
24 Aug 2025
Ships fairly regularly
a new release about every 2 months
Some releases are documented
notes for 16 of 48 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
53 releases · first in 2020
0 releases in the last 12 months
see the full history below
Release timeline
53 releases · Apr 2020 to Aug 2025Releases
latest 53-
0.6.524 Aug 2025 -
0.6.419 Jun 2025 -
0.6.301 Mar 2025 -
0.6.207 Sep 2024 -
0.6.122 Jul 2024 -
0.6.011 Feb 2024 -
0.6.0-rc.318 Jan 2024 pre-release -
0.6.0-rc.217 Jan 2024 pre-release -
0.6.0-rc.117 Jan 2024 pre-release -
0.5.2230 Nov 2023 -
0.5.2103 Nov 2023Nothing published for this version
-
0.5.2003 Nov 2023Nothing published for this version
-
0.5.1907 Jun 2023Nothing published for this version
-
0.5.1801 Apr 2023Nothing published for this version
-
0.5.1712 Jan 2023Nothing published for this version
-
0.5.1631 Dec 2022Nothing published for this version
-
0.5.1510 Oct 2022Nothing published for this version
-
0.5.1404 Aug 2022Nothing published for this version
-
0.5.1319 Apr 2022Nothing published for this version
-
0.5.1203 Apr 2022Nothing published for this version
-
0.5.1125 Feb 2022Nothing published for this version
-
0.5.1008 Jan 2022Nothing published for this version
-
0.5.903 Jan 2022Nothing published for this version
-
0.5.831 Oct 2021Release notes
Open source →- Features:
- Functions from
&RequesttoResponseTemplatecan now be passed toMockBuilder::respond_with. You do not have to write a struct with aRespondimplementation for simple manipulation of request data! (by [@RoGryza])
- Functions from
- Features:
-
0.5.705 Sep 2021Release notes
Open source →- Fixes:
MockGuardis now marked asmust_use, ensuring that a compiler warning is raised if the guard for a scoped mock is not bound to a variable.
- Fixes:
-
0.5.620 Jul 2021Release notes
Open source →- Features:
- Added support for scoped
Mocks! UsingMockServer::register_as_scopedorMock::mount_as_scopedyou can now registerMocks that go "out of scope" when the returned RAII guard (MockGuard) is dropped. ScopedMocks are recommended for usage in test helper functions to ensure proper isolation - check the documentation for more details! (by [@LukeMathWalker])
- Added support for scoped
- Features:
-
0.5.518 Jul 2021Release notes
Open source →- Miscellaneous:
- Added the
httpmodule to re-export the types fromhttp-typesthat are part ofwiremock's public API (by [@LukeMathWalker]).
- Added the
- Miscellaneous:
-
0.5.403 Jul 2021Release notes
Open source →- Fixes:
- Handle URI authority properly in the mock server (by [@Tuetuopay])
- Fixes:
-
0.5.305 Jun 2021Release notes
Open source →- Miscellaneous:
- Remove
textwrapfrom the dependency tree (by [@apiraino])
- Remove
- Miscellaneous:
-
0.5.220 Mar 2021Release notes
Open source →- Features:
- Support multi-valued headers (by [@beltram])
- Miscellaneous:
- Improve README (by [@apiraino])
- Features:
-
0.5.124 Feb 2021Release notes
Open source →- Features:
- Capture the port in
hyper'sRequestintowiremock::Request::url(by [@beltram])
- Capture the port in
- Features:
-
0.5.022 Feb 2021Release notes
Open source →- Breaking changes:
- Removed
MockServer::start_on.
UseMockServer::builderandMockServerBuilder::listenerto configure yourMockServerto start on a pre-determined port (by @LukeMathWalker). MockServer::verifyis now asynchronous (by @LukeMathWalker).
- Removed
- Features:
- Added request recording to
MockServer, enabled by default.
The recorded requests are used to display more meaningful error messages when assertions are not satisfied and can be retrieved usingMockServer::received_requests([by @LukeMathWalker]). - Added
MockServerBuilderto customise the configuration of aMockServer.
It can be used to bind aMockServerto an existingTcpListeneras well as disabling request recording (by @LukeMathWalker). - Added
matchers::body_json_schemato verify the structure of the body attached to an incoming request (by @Michael-J-Ward).
- Added request recording to
- Breaking changes:
-
0.4.924 Jan 2021Nothing published for this version
-
0.4.820 Jan 2021Nothing published for this version
-
0.4.716 Jan 2021Nothing published for this version
-
0.4.614 Jan 2021Nothing published for this version
-
0.4.512 Jan 2021Nothing published for this version
-
0.4.412 Jan 2021Nothing published for this version
-
0.4.324 Dec 2020Nothing published for this version
-
0.4.222 Dec 2020Nothing published for this version
-
0.4.121 Dec 2020Nothing published for this version
-
0.4.021 Dec 2020Nothing published for this version
-
0.4.0-alpha.215 Nov 2020 pre-releaseNothing published for this version
-
0.4.0-alpha.129 Sep 2020 pre-releaseNothing published for this version
-
0.3.016 Sep 2020Nothing published for this version
-
0.2.516 Sep 2020Nothing published for this version
-
0.2.431 Jul 2020Nothing published for this version
-
0.2.310 Jul 2020Nothing published for this version
-
0.2.201 Jun 2020Nothing published for this version
-
0.2.122 May 2020Nothing published for this version
-
0.2.011 May 2020Nothing published for this version
-
0.1.114 Apr 2020Nothing published for this version
-
0.1.013 Apr 2020Nothing published for this version