#identifier

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

#232 in #identifier

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
~48K SLoC