Skip to content

Releases: colin-kiegel/rust-derive-builder

v0.10.0-alpha

19 Jan 18:08
Compare
Choose a tag to compare
v0.10.0-alpha Pre-release
Pre-release
Update all dependencies to latest

For `darling`, this will improve errors.
The other bumps are motivated by hygiene.

v0.9.0

07 Nov 20:44
Compare
Choose a tag to compare
  • Add setter(custom) support #154

v0.8.1

31 Oct 01:35
Compare
Choose a tag to compare
  • Bump darling dependency to 0.10.2 to support rust's new minimal-versions CI feature #153

v0.8.0

30 Sep 19:40
Compare
Choose a tag to compare
  • Bump Rust min verson to 1.37.0 (was 1.18.0) #148
  • Update dependencies

v0.7.2

08 Jun 12:40
Compare
Choose a tag to compare

Add strip_option to setter options #116

v0.7.1

05 Feb 15:25
Compare
Choose a tag to compare
  • Improve error experience using latest version of darling #142

v0.7.0

22 Oct 18:57
Compare
Choose a tag to compare
  • Update all dependencies #138

2018-09-04

04 Sep 17:21
Compare
Choose a tag to compare

Fix a variety of bugs by updating to darling for attribute parsing.

2017-06-30

30 Jun 10:27
Compare
Choose a tag to compare

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

2017-04-29

29 Apr 11:35
Compare
Choose a tag to compare

Fixed

  • for generic structs, apply the T: Clone type bound in builder impl instead of struct definition #91
  • only emit the T: Clone type bound when it is actually needed, i.e. mutable/immutable pattern, but not owned pattern.