Skip to content

v0.10.0

Compare
Choose a tag to compare
@TedDriggs TedDriggs released this 31 Mar 15:54
· 90 commits to master since this release
  • 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.