Skip to content

Upgrading darling 0.20 to 0.21

Breaking0.20.11 → 0.21.3Breaking1New7Changed4Fixed3

BreakingUpgrade verdict

1 breaking change.

  • If the same attribute is listed in two places in the macro configuration, the build now fails with an error instead of silently continuing.
1 item needs code or config changes

Rust requirement changed in 0.21.2: 1.56 → 1.56.0.

Breaking1
Emits an error when an attribute path is present in both attributes and forward_attrs.
attributesforward_attrs