#proc-macro #terrazzo #utility #string #macro

nameth

A simple macro to generate a static &str representing the name of a function, a struct or an enum

7 releases

Uses new Rust 2024

new 0.1.7 Mar 29, 2025
0.1.6 Mar 16, 2025
0.1.5 Feb 26, 2025
0.1.3 Dec 28, 2024

#706 in Procedural macros

Download history 305/week @ 2024-12-25 35/week @ 2025-01-01 13/week @ 2025-01-08 4/week @ 2025-01-15 13/week @ 2025-01-22 7/week @ 2025-01-29 5/week @ 2025-02-05 61/week @ 2025-02-12 142/week @ 2025-02-19 201/week @ 2025-02-26 19/week @ 2025-03-05 162/week @ 2025-03-12 59/week @ 2025-03-19

476 downloads per month
Used in 8 crates

MIT license

5KB

A simple macro to generate a static &str representing the name of a function, a struct or an enum.

Dependencies

~0.5–1MB
~22K SLoC