PackageTrack
Sign in Get early access

mockito

HTTP mocking for Rust.

1.7.2 53M downloads/mo #1180 most downloaded on crates.io lipanski/mockito

What this package is like to depend on

Last release 6 months ago

02 Feb 2026

Release timing varies

gaps range from 9 days to 9 months

Rarely documented

notes for 10 of 75 stable releases

2 versions withdrawn

withdrawn after publishing

11 years old

77 releases · first in 2016

2 releases in the last 12 months

see the full history below

Release timeline

77 releases · Jan 2016 to Feb 2026
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 60 of 77
  1. 1.7.2 02 Feb 2026
    Release notes
    Open source →
    Release notes

    1.7.2 Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  2. 1.7.1 30 Nov 2025
    Release notes
    Open source →
    Release notes

    1.7.1

    Compare

    Choose a tag to compare

    Open source →
  3. 1.7.0 04 Mar 2025
    Release notes
    • Make parking_lot optional
    • Update rand crate to v0.9
    • Allow colored crate v3

    Thanks to @tottoto @nerodono

    Open source →
    Release notes

    1.7.0

    Compare

    Choose a tag to compare

    Open source →
  4. 1.6.1 13 Nov 2024
    Release notes
    • Added Mock::with_header_from_request allowing you to set the header dynamically by using a closure which exposes the Request object

    Thanks to @alex-kattathra-johnson

    Open source →
    Release notes

    1.6.1

    Compare

    Choose a tag to compare

    Open source →
  5. 1.6.0 12 Nov 2024
    Release notes
    • Introduced Mock::match_request which exposes the Request object via a closure and can be used to build custom matchers
    Open source →
    Release notes

    1.6.0

    Compare

    Choose a tag to compare

    Open source →
  6. 1.5.0 31 Jul 2024
    Release notes

    Thanks to @tottoto

    Open source →
    Release notes

    1.5.0

    Compare

    Choose a tag to compare

    Open source →
  7. 1.4.0 28 Feb 2024
    Release notes
    • [Breaking] Bump minimum supported Rust version to 1.70 and revert version constraints on the colored crate
    Open source →
    Release notes

    1.4.0

    Compare

    Choose a tag to compare

    Open source →
  8. 1.3.1 26 Feb 2024
    Release notes
    • Fixed a bug where Semaphore::const_new wasn't available on Tokio < 1.30 because of the missing Tokio parking_lot feature flag
    • Use the Tokio runtime everywhere to remove the need for the futures crate (aside from futures-core)

    Thanks to @tottoto

    Open source →
    Release notes

    1.3.1

    Compare

    Choose a tag to compare

    Open source →
  9. 1.3.0 21 Feb 2024
    Release notes
    • Introduced Server::new_with_opts, Server::new_with_opts_async and the ServerOpts struct to allow configuring the server host, port and enabling auto-asserts (see next item)
    • Added the assert_on_drop server option that allows you to automatically call assert() whenever your mocks go out of scope (defaults to false)
    • Expose Server::socket_address() to return the raw server SocketAddr
    • Use only required features for dependencies
    • Accept hyper::header::HeaderValue as a match_header() value

    Thanks to @andrewtoth @alexander-jackson

    Open source →
    Release notes

    1.3.0

    Compare

    Choose a tag to compare

    Open source →
  10. 1.2.0 15 Sep 2023
    Release notes
    • [Breaking] The minimum supported Rust version was bumped to 1.68.0
    • The server pool was limited to 20 servers for mac_os targets to prevent hitting the file descriptor limit

    Thanks to @kornelski

    Open source →
    Release notes

    1.2.0

    Compare

    Choose a tag to compare

    Open source →
  11. 1.1.1 14 Sep 2023

    Nothing published for this version

  12. 1.1.0 17 Jun 2023

    Nothing published for this version

  13. 1.0.2 31 Mar 2023

    Nothing published for this version

  14. 1.0.1 25 Mar 2023

    Nothing published for this version

  15. 1.0.0 12 Mar 2023

    Nothing published for this version

  16. 0.32.5 11 Mar 2023

    Nothing published for this version

  17. 0.32.4 02 Mar 2023

    Nothing published for this version

  18. 0.32.3 16 Feb 2023

    Nothing published for this version

  19. 0.32.2 14 Feb 2023 withdrawn

    Nothing published for this version

  20. 0.32.1 13 Feb 2023 withdrawn

    Nothing published for this version

  21. 0.32.0 10 Feb 2023

    Nothing published for this version

  22. 0.31.1 05 Dec 2022

    Nothing published for this version

  23. 0.31.0 26 Feb 2022

    Nothing published for this version

  24. 0.30.0 18 Mar 2021

    Nothing published for this version

  25. 0.29.0 24 Jan 2021

    Nothing published for this version

  26. 0.28.0 04 Nov 2020

    Nothing published for this version

  27. 0.27.0 25 Jul 2020

    Nothing published for this version

  28. 0.26.0 28 Jun 2020

    Nothing published for this version

  29. 0.25.3 28 Jun 2020

    Nothing published for this version

  30. 0.25.2 30 May 2020

    Nothing published for this version

  31. 0.25.1 08 Apr 2020

    Nothing published for this version

  32. 0.25.0 05 Apr 2020

    Nothing published for this version

  33. 0.23.3 21 Feb 2020

    Nothing published for this version

  34. 0.23.2 19 Feb 2020

    Nothing published for this version

  35. 0.23.1 05 Feb 2020

    Nothing published for this version

  36. 0.23.0 30 Jan 2020

    Nothing published for this version

  37. 0.22.0 11 Nov 2019

    Nothing published for this version

  38. 0.21.0 25 Sep 2019

    Nothing published for this version

  39. 0.20.0 29 Jul 2019

    Nothing published for this version

  40. 0.19.0 20 Jul 2019

    Nothing published for this version

  41. 0.18.0 11 Jul 2019

    Nothing published for this version

  42. 0.17.1 28 Apr 2019

    Nothing published for this version

  43. 0.17.0 25 Mar 2019

    Nothing published for this version

  44. 0.16.0 18 Feb 2019

    Nothing published for this version

  45. 0.15.1 04 Feb 2019

    Nothing published for this version

  46. 0.15.0 01 Jan 2019

    Nothing published for this version

  47. 0.14.1 21 Dec 2018

    Nothing published for this version

  48. 0.14.0 18 Nov 2018

    Nothing published for this version

  49. 0.13.0 17 Sep 2018

    Nothing published for this version

  50. 0.12.0 27 Jun 2018

    Nothing published for this version

  51. 0.11.1 24 Jun 2018

    Nothing published for this version

  52. 0.11.0 10 Jun 2018

    Nothing published for this version

  53. 0.10.0 05 May 2018

    Nothing published for this version

  54. 0.9.1 10 Mar 2018

    Nothing published for this version

  55. 0.9.0 29 Aug 2017

    Nothing published for this version

  56. 0.8.2 26 Jul 2017

    Nothing published for this version

  57. 0.8.1 16 Jul 2017

    Nothing published for this version

  58. 0.8.0 11 Jul 2017

    Nothing published for this version

  59. 0.7.2 09 Jul 2017

    Nothing published for this version

  60. 0.7.1 06 Jul 2017

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive