#mocking #spy #proc-macro

macro mimicry-derive

Procedural macros for mimicry

1 unstable release

0.1.0 Jul 4, 2022

#5 in #spy

25 downloads per month
Used in mimicry

MIT/Apache

32KB
671 lines

Proc Macros for mimicry

Build Status License: MIT OR Apache-2.0 rust 1.57+ required

Documentation: crate docs (main)

This crate provides procedural macros for mimicry, allowing for lightweight mocking / spying.

Usage

The crate macros are re-exported from the main crate, so it rarely makes sense to use it as a direct dependency.

See mimicry readme and crate docs for the examples of usage.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in mimicry by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~2MB
~41K SLoC