Upgrading strum_macros 0.25 to 0.26
Breaking0.25.3 → 0.26.4Breaking4New11Changed2Fixed6Other7
BreakingUpgrade verdict
4 breaking changes.
In plain terms
- The EnumVariantNames macro has been renamed VariantNames.
- The Iterator struct generated by EnumIter now has new bounds on it.
- Display now supports format strings using named fields in the enum variant.
- EnumDiscriminant now inherits the repr and discriminant values from your main enum.
Must act Top 3 of 4 that need code or config changes
What you must change
Breaking4
The EnumVariantNames macro has been renamed VariantNames.
EnumVariantNamesVariantNamesThe Iterator struct generated by EnumIter now has new bounds on it.
Display now supports format strings using named fields in the enum variant.
DisplayEnumDiscriminant now inherits the repr and discriminant values from your main enum.