Skip to content

2017-06-30

Compare
Choose a tag to compare
@colin-kiegel colin-kiegel released this 30 Jun 10:27
· 174 commits to master since this release

Changed

  • #[builder(default)] and #[builder(default="...")] at the struct level
    change their behaviour and construct a default value for the struct,
    instead of all fields individually.
  • builder fields are no longer public by default; Fields can be explicitly
    made public at the struct or field level using the new attribute:
    #[builder(field(public))]

Removed

  • removed previously deprecated syntax #[builder(setter_prefix="with")],
    please use #[builder(setter(prefix="with"))] instead