1 unstable release
0.1.0 | Jun 8, 2023 |
---|
#2332 in Procedural macros
45 downloads per month
Used in 6 crates
(4 directly)
6KB
proc-utils
This crate provides a series of traits, macros, functions, and utilities that make writing and debugging proc macros easier
This includes pretty-printing facilities for anything implementing syn::ToTokens
, as well as
some useful macros including #[overwrite_with(..)]
and #[suppress_item]
, which allow for
suppressing and/or replacing the underlying item that the attribute is attached to, which can
be a useful debugging trick.
See the documentation for specific usage examples.
Dependencies
~0.5–1MB
~22K SLoC