Email me

Crate features / mockall

Feature flags · mockall 0.15.0 · from crates.io 2026-10-24

mockall features: what each one does, and the line to copy

Short answermockall 0.15.0 has 1 feature. Nothing is on by default: turn on what you use. It needs Rust 1.77.0 or newer.

Pick features

0.15.0latest version
1features
0optional dependencies
1.77.0MSRV (rust-version)

Every feature

FeatureIn defaultTurns on
nightlymockall_derive/nightly_derive, downcast/nightly

dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).

MSRV history

The minimum Rust version mockall declares (rust-version), and the release that changed it:

  • 0.11.3 (2022-10-18): Rust 1.45
  • 0.12.0 (2023-12-10): Rust 1.60
  • 0.13.0 (2024-07-21): Rust 1.71
  • 0.14.0 (2025-11-22): Rust 1.77.0

Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p mockall --precise <version>, or use resolver 3, which picks compatible versions for you.

More on mockall

Real downloads, dependents and alternatives: mockall crate data (406.7K real downloads a day, 1,393 dependents).

docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2021

Up next

Before you depend on itmockall crate dataReal downloads, dependents, alternatives.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ