#proc-macro #group #identifier #serenity #name #thing #discord

macro serenity_group_name

I don't know what I'm doing with proc macros, but I hacked together this thing to convert an identifier to SCREAMING_SNAKE_CASE and append "_GROUP" and it works

1 unstable release

0.1.0 Jul 24, 2019

#20 in #serenity

MIT license

3KB

serenity_group_name

This is a very hacky proc macro in rust to turn an identifier into a group name in the convention needed for the serenity discord library.

Dependencies

~2MB
~46K SLoC