5 releases
0.1.3 | Nov 23, 2020 |
---|---|
0.1.2 | Oct 28, 2020 |
0.1.1 | Oct 28, 2020 |
0.1.0 | Oct 27, 2020 |
#7 in #decorator
34,372 downloads per month
Used in 4 crates
(2 directly)
22KB
513 lines
::func_wrap
Helper crate for procedural macro authors that wish to duplicate some received function inside its body, so as to be able to wrap with some prologue, epilogue, cache-ing, etc.
Examples
See https://docs.rs/require_unsafe_in_body for a real-life example of using it.
Dependencies
~1.5MB
~37K SLoC