v0.10.0
- Requires Rust 1.40.0 or newer (was 1.37.0) #169
- Logging feature is removed #177
- Type parameters no longer have the Default bound #178
- Make most of derive_builder_core private #189
- Add setter(each = "name") for extension of collection-like fields #199
This release changes how derive_builder
handles errors; instead of returning a string, a structured error is now returned from build
. This implements std::error::Error
, making it easy to use alongside libraries such as anyhow
, and it is replaceable, making it easy to drop in your library's own error instead. In addition, this approach means that builders no longer force any allocations, useful in no_std
contexts.