Releases: colin-kiegel/rust-derive-builder
Releases · colin-kiegel/rust-derive-builder
v0.20.2
v0.20.1
v0.20.0
v0.13.1
v0.13.0
- Bump MSRV to 1.56.0
- Add
build_fn(error(validation_error = <bool>))
to disable generation ofValidationError
within the builder's error so thatalloc::string
is avoided. - Add feature
alloc
for controlling linking ofalloc
crate duringno_std
. This way users can useno_std
without providing aglobal_allocator
. - Make try-setters inherit
strip_option
fromsetter
fortry_setter
. Using these settings together previously caused a compile error #284
v0.12.0
v0.11.2
- Allow restricted visibility using
vis = "..."
for builders, build methods, setters, and fields #247 - Allow specifying the type of a builder field using
#[builder(field(type = "..."))]
#246 - Allow specifying how a builder field is built using
#[builder(field(build = "..."))]
#246 - Update
darling
,proc-macro2
,syn
, andquote
dependencies #250
v0.11.1
v0.11.0
- Support shorthand and long-form collection setters;
#[builder(setter(each = "..."))]
and#[builder(setter(each(name = "...")))]
#234 - Allow collection setters to be generic over
Into
using `#[builder(setter(each(name = "...", into)))] #234 and #214 - Allow specifying attributes for builder fields and setters using
#[builder_field_attr(...)]
and#[builder_setter_attr(...)]
#237
Note: This version didn't have anything that clearly required a minor version increase; however, given the amount of time and number of commits since last publication a conservative approach was taken.