2 releases

Uses new Rust 2024

0.1.1 May 20, 2025
0.1.0 Jun 8, 2023

#2997 in Procedural macros

Download history 29/week @ 2025-07-23 2/week @ 2025-07-30 4/week @ 2025-08-13 33/week @ 2025-08-20 6/week @ 2025-08-27 27/week @ 2025-09-03 15/week @ 2025-09-10 10/week @ 2025-09-17 25/week @ 2025-09-24 20/week @ 2025-10-01 1/week @ 2025-10-08 17/week @ 2025-10-15 30/week @ 2025-10-22 4/week @ 2025-10-29 2/week @ 2025-11-05

53 downloads per month
Used in 7 crates (via proc-utils)

MIT license

4KB

proc-utils

Crates.io docs.rs Build Status MIT License

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

~165–570KB
~14K SLoC