Skip to content

Upgrading darling 0.13 to 0.14

Breaking0.13.4 → 0.14.4Breaking2New6Changed7Fixed1

BreakingUpgrade verdict

2 breaking changes.

  • A helper type used in attribute parsing no longer behaves like a true/false value, so code that relied on that will need updating.
  • Code that generates parsing logic from the FromMeta trait will now report an error when it encounters a literal value, where before it quietly skipped it.
2 items need code or config changes

Adds rustversion ^1.0.9, trybuild ^1.0.38.

Installs 26 packages in all (was 8).

Breaking2
Removes many trait impls from util::Flag, including deref and operator impls that let it act like a boolean.
util::Flag
Derived impls of FromMeta now error on literals instead of silently ignoring them.
FromMeta