This crate is a fork of the enumtostr_derive crate, written by @DCjanus.
Unlike enum_to_str_derive which outputs a &'static str, this crate generates a &'static [u8] .
enum_to_str_derive
&'static str
&'static [u8]