rustio rustio.net
72

mockito

v1.7.2 Stable

HTTP mocking for Rust.

MIT Edition 2021 MSRV 1.70
Development tools::TestingWeb programming #http#mock#mocks#webmock#webmocks

Quick Verdict

  • โœ“Actively maintained (updated 53d ago)
  • โœ“Stable API (1.x for 10+ years)
  • โœ“Massive adoption (11.2K crates depend on it)
  • !Heavy dependency tree (22 direct deps)
  • โœ“Permissive license (MIT)

Security

Checking security advisories...
Downloads
36.7M
Dependents
11.2K
Releases
77
Size
44KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

3.6M downloads in the last 30 days (120.3K/day), up 44% from the previous period.

๐Ÿ›๏ธ
Foundational crate

11.2K crates depend on mockito โ€” it's part of the Rust ecosystem's core infrastructure. Removing it from your dependency tree would be extremely difficult.

โš ๏ธ
Single maintainer risk

mockito has only 1 owner despite 11.2K dependents. This is a bus-factor concern โ€” consider the implications for long-term support.

โœ…
Stable for 10+ years

The API has been stable (1.x) for over 10 years with 77 releases. This level of maturity means you can depend on it without worrying about breaking changes.

๐Ÿ“ฆ
Heavy dependency tree

22 direct dependencies. Consider the impact on compile times and supply chain complexity.

๐Ÿ“
Compact crate

At 43KB, mockito is lightweight. Small crate size correlates with focused, well-scoped functionality.

๐ŸŒŸ
Used by top crates

Notable dependents include goauth, http-client, eventsource-client, schema_registry_converter, launchdarkly-server-sdk. When high-quality crates choose mockito, it's a strong quality signal.

Health Breakdown

Maintenance 16/25

Recency, release consistency, active ratio

Quality 18/25

Yanked ratio, deps, size, maturity, features

Community 15/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 15/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
89K/day avg+81%
050K100K150K200K12/291/162/32/213/113/28

Top Dependents

Version Adoption

v1.7.0
54%
v1.5.0
27%
v1.6.1
8%
v1.2.0
6%
v1.4.0
5%

Release Timeline

77 releases2 yankedsince 2016
J
F
M
A
M
J
J
A
S
O
N
D
2016
7
2017
16
2018
8
2019
10
2020
11
2021
2
2022
2
2023
12
2024
6
2025
2
2026
1
Less
More|
Yanked

Feature Flags

default =["color", "parking_lot"]

color*parking_lot*

README

Loading README...

Maintainers

Dependencies
22
direct dependencies
Dependents
11.2K
crates depend on mockito

Similar Crates