Crates.io | proc-utils |
lib.rs | proc-utils |
version | 0.1.0 |
source | src |
created_at | 2023-06-08 04:00:04.708407 |
updated_at | 2023-06-08 04:00:04.708407 |
description | A series of traits, macros, functions, and utilities that make writing and debugging proc macros easier |
homepage | |
repository | https://github.com/sam0x17/proc-utils |
max_upload_size | |
id | 885166 |
size | 6,768 |
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.