Upgrading darling 0.11 to 0.12
Breaking0.11.0 → 0.12.4Breaking2New7Fixed1
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- A method on the AST data type is gone, so code calling it will no longer compile.
- Code that generates parsing logic with darling will now report an error when it meets an attribute it was asked to read but cannot understand, instead of quietly skipping it.
Must act 2 items need code or config changes
What you must change
Breaking2
Removes
unreachable from darling::ast::Data.darling::ast::DataunreachableDerived impls of FromDeriveInput, FromField, FromVariant, and FromTypeParam now error on unsupported darling attribute shapes instead of silently ignoring them.
FromDeriveInputFromFieldFromVariantFromTypeParam