All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
c_enum! can now handle enums with more than 128 variants without hitting
the macro recursion limit. Enums with more than 10k variants will still hit
it eventually but this is less likely to be an issue for most.c_enum! will now emit the error message about multiple declarations in a
block in most cases matching needing to be migrated to v0.2.0.c_enum! will now emit a custom error message indicating that declaring
multiple enums in a single c_enum! block is not supported anymore.c_enum! now has some extra syntax to allow directly applying attributes to
the generated impl block.c_enum!.
This is to allow additional syntax in the future that is not supported when
the macro allows multiple enum definitions.CEnum::variant_label (and thus the Debug impl) now returns the actual
variant label instead of the enum name. (by @dbartussek)c_enum! macro are now annotated with
#[automatically_derived].CEnum trait has now been marked as #[doc(hidden)]This is the very first release of c-enum.
c_enum! macro.