mockall

crates.io v0.14.0

1,754,704 weekly downloads · 6 Dependencies

Source data as of:

Summary

A powerful mock object library for Rust.

Install cargo add mockall

Registry values

Reproduced verbatim from the official registry, with the source named on each value.

Weekly downloads 1,754,704 Source: crates.io (Rust)
Releases 33 Last release: 2025-11-22 Source: crates.io (Rust)
Dependencies 6 Source: crates.io (Rust)

Description

A powerful mock object library for Rust.

Registry-supplied description, cleaned to plain text. Source: crates.io (Rust).

Package details

Package
mockall
Registry
crates.io
Version
0.14.0
Weekly downloads
1,754,704 (weekly)
Dependencies
6: cfg-if, downcast, fragile, mockall_derive, predicates, predicates-tree
Releases
33
Last release
2025-11-22
First published
2019-07-03
Keywords
testing, mock, mocking
Repository
https://github.com/asomers/mockall

Why a field shows "—": A dash means the value is not published by the source registry for that package. Quanteta never fills in a guessed value — a missing field stays blank.

Derived indices (computation method published)

Quanteta-computed from the registry values below. This is a derived index, not a measured registry metric. See the formula on the Data & Sources page.

Q-Vitality Quanteta 22.5 / 100 Maintenance activity index (release cadence + download level).
Q-Trust Quanteta 10.6 / 100 Adoption / stability index (community size + download stability + age).
Q-Risk Quanteta 58.5 / 100 Dependency-surface index. Higher = more risk factors detected.

Data & Sources