#enums #generate-static #name #struct #str #macro

nameth

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

3 releases

0.1.3 Dec 28, 2024
0.1.2 Dec 28, 2024
0.1.1 Dec 27, 2024
0.1.0 Dec 27, 2024

#1466 in Rust patterns

Download history 305/week @ 2024-12-25 36/week @ 2025-01-01

341 downloads per month
Used in 5 crates

MIT license

4KB

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