colin-kiegel / rust-derive-builder

derive builder implementation for rust structs
https://colin-kiegel.github.io/rust-derive-builder/
Apache License 2.0
1.32k stars 88 forks source link

Update to syn 2 and darling 0.20.5 #308

Closed TedDriggs closed 8 months ago

TedDriggs commented 8 months ago

This uses the most recent major version of syn, as well as the most recent version of darling.

Breaking Changes

  1. It's no longer possible to use type to override the type of a field; instead, ty must be used.

Fixes #292

TedDriggs commented 8 months ago

I'm going to wait to merge this until TedDriggs/darling#263 has landed, as I may want to ship with a darling dependency of 0.20.6 instead of 0.20.5. However, that hopefully won't take long to resolve, and at that point this will be unblocked.