#string #terrazzo #macro #utility #proc-macro #generate-static

nameth

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

5 releases

0.1.5 Feb 26, 2025
0.1.4 Feb 24, 2025
0.1.3 Dec 28, 2024

#1888 in Rust patterns

Download history 209/week @ 2024-12-22 113/week @ 2024-12-29 27/week @ 2025-01-05 6/week @ 2025-01-12 8/week @ 2025-01-19 11/week @ 2025-01-26 7/week @ 2025-02-02 42/week @ 2025-02-09 29/week @ 2025-02-16 289/week @ 2025-02-23 50/week @ 2025-03-02

411 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