Upgrading darling 0.2 to 0.3
Breaking0.2.2 → 0.3.2Breaking4New2
BreakingUpgrade verdict
4 breaking changes.
In plain terms
- If you use the derive macro for `FromDeriveInput`, the special field that used to be called `body` is now called `data`.
- If you use the derive macro for `FromVariant`, the special field that used to be called `data` is now called `fields`.
- The library now depends on a newer version of the `syn` parsing library, which may require callers to update their own `syn` dependency.
- The library now depends on a newer version of the `quote` library, which may require callers to update their own `quote` dependency.
Must act Top 3 of 4 that need code or config changes
Adds quote ^0.4.
Installs 7 packages in all (was 8).
What you must change
Breaking4
Renames magic field
body to data in derived FromDeriveInput structs to stay in sync with syn.FromDeriveInputbodydataRenames magic field
data to fields in derived FromVariant structs to stay in sync with syn.FromVariantdatafieldsUpdates
syn to 0.12.synUpdates
quote to 0.4.quote