Procedural macros for mimicry.
mimicry
See mimicry docs for examples of usage.
Injects mocking logic into a function / method.
Derives the CallReal trait for a struct allowing to switch to real implementations for partial mocking or spying.
CallReal
Derives the Mock trait for a type, allowing to use it as a state for mocking.
Mock