#mock #mocking #testing

macro mockall_derive

Procedural macros for Mockall

26 releases

0.11.3 Oct 18, 2022
0.11.2 Jul 24, 2022
0.11.1 May 15, 2022
0.11.0 Dec 11, 2021
0.1.0 Jul 3, 2019

#249 in Testing

Download history 117251/week @ 2022-08-10 110799/week @ 2022-08-17 105983/week @ 2022-08-24 105354/week @ 2022-08-31 120661/week @ 2022-09-07 109490/week @ 2022-09-14 113616/week @ 2022-09-21 121129/week @ 2022-09-28 118603/week @ 2022-10-05 117594/week @ 2022-10-12 125991/week @ 2022-10-19 122325/week @ 2022-10-26 127609/week @ 2022-11-02 133344/week @ 2022-11-09 122319/week @ 2022-11-16 89904/week @ 2022-11-23

493,588 downloads per month
Used in 197 crates (via mockall)

MIT/Apache

220KB
5K SLoC

Mockall_derive

This crate should never be used directly. You should use mockall instead.

License

mockall is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.

See LICENSE-APACHE, and LICENSE-MIT for details


lib.rs:

Proc Macros for use with Mockall

You probably don't want to use this crate directly. Instead, you should use its reexports via the mockall crate.

Dependencies

~210–620KB
~15K SLoC