#proc-macro #terrazzo #utility #string

nameth

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

8 releases

Uses new Rust 2024

new 0.1.8 May 1, 2025
0.1.7 Mar 29, 2025
0.1.5 Feb 26, 2025
0.1.3 Dec 28, 2024

#833 in Procedural macros

Download history 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 156/week @ 2025-03-26 32/week @ 2025-04-02 24/week @ 2025-04-09 30/week @ 2025-04-16 30/week @ 2025-04-23

128 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
~23K SLoC