strum_macros breaking changes
cargo4 curated breaking changes across major versions of strum_macros. Use this as a migration checklist before bumping dependencies.
- unknown \u2192 v0.26.1breaking
The `EnumVariantNames` macro has been renamed `VariantNames`. The deprecation warning should steer you in the right direction for fixing the warning.
- unknown \u2192 v0.26.1breaking
The Iterator struct generated by EnumIter now has new bounds on it. This shouldn't break code unless you manually added the implementation in your code.
- unknown \u2192 v0.26.1breaking
`Display` now supports format strings using named fields in the enum variant. This should be a no-op for most code. However, if you were outputting a string like `"Hello {field}"`, this will now be interpretted as a format string.
- unknown \u2192 v0.26.1breaking
EnumDiscriminant now inherits the repr and discriminant values from your main enum. This makes the discriminant type closer to a mirror of the original and that's always the goal.
Get this data programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/breaking/cargo/strum_macros