bytenum (cargo): Bytenum is a rust derive macro that creates a try_from<T> implementation for an enum with only unit variants.  All types supported by #[repr(T)] are supported by bytenum. 
Keywords: byte|enum|macro