v1.0.0 - Long-needed fixes & Updates
IMPORTANT NOTICE: Now using the Apache 2.0 license. See LICENSE for more details.
Added
EnumDebug::variant_names()to get a static slice of all variant names.EnumDebug::variants()to iterate over all variant names.
Changed
- The project now uses semantic versioning (BREAKING).
- The license has been changed from GPLv3 to Apache 2.0. See LICENSE for more information (BREAKING).
EnumDebug::fmt->EnumDebug::variant_name(), which returns the static variant name instead of formatting it (BREAKING).EnumDebug::fmt_type_name->EnumDebug::type_name(), which returns the static type name instead of formatting it (BREAKING).- Now depending on
syn2.0 instead of 1.0. enum-debugis now the toplevel crate instead of this being a purely virtual workspace.
Fixed
EnumDebugderivation not working over enums with traits.EnumDebugderivation not working over enums with no variants.