NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #2762 most downloaded on crates.io
Test double adapter for Mockall
Last release 3 years ago
no release in 18 months
Ships fairly regularly
a new release about every 8 months
Most releases are documented
notes for 4 of 5 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
5 releases · first in 2020
One column per quarter.
chore: Release mockall_double version 0.3.1
chore: Release mockall_double version 0.3.1
The times method now accepts ranges as arguments. types_any and times_range are deprecated.
withf or returning. No special tricks are required by the user.
Similarly, methods with bare fn arguments can be mocked, too.
(#15)It is no longer necessary for consuming crates to explicitly depend on fragile, downcast, or predicates-tree. Mockall now reexports them. (#29)
The MSRV is now Rust 1.35.0 (#15)
The times method now accepts ranges as arguments. types_any and
times_range are deprecated.
(#14)
Fixed mocking methods with arguments or return values that use Self as an
associated type of some other trait.
(#28)
Fixed mocking structs and traits with more than one static method. (#22)
Methods of generic structs and traits that reference Self (such as
constructors or comparators) can now be mocked without any hacks.
(#21)
(#25)
Specializing methods of generic structs (and traits) can now be mocked without the hack of duplicating the struct's (or trait's) generic parameters. (#20)
Static methods of generic structs (and traits) can now be mocked without the hack of duplicating the struct's (or trait's) generic parameters. (#19)
Fixed some hygiene problems introduced in 0.2.0
Support mocking generic specializing methods.
Support mocking generic specializing methods. (#13)
Correctly handle where clauses on mocked methods. (#13)
Allow mocking generic constructor methods (#11)
Allow mocking methods that use super somewhere in their signatures.
(#8)
Fixed #[automock] for new methods with arguments.
(#3)
Fixed the never method, which never actually worked.
(#10)
Fixed mocking generic traits or structs with generic methods (6126359)
Fixed an issue with using associated types in generic parameter bounds (116e5a2)
Fixed mocking methods with mutable arguments (8058701)
expectation!, used to manually mock methods in rare circumstances.
Now mock! and #[automock] are the only way to use Mockall.
(#12)Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →