Skip to content

2017-03-25

Compare
Choose a tag to compare
@colin-kiegel colin-kiegel released this 25 Mar 21:06
· 308 commits to master since this release

Added

  • skip setters, e.g. #[builder(setter(skip))]
  • default values, e.g. #[builder(default="42")] or just #[builder(default)]

Changed

  • deprecated syntax #[builder(setter_prefix="with")],
    please use #[builder(setter(prefix="with"))] instead
  • setter conversions are now off by default, you can opt-into via
    #[builder(setter(into))]
  • logging is behind a feature flag. To activate it, please add
    features = ["logging"] to the dependency in Cargo.toml. Then you can use
    it like: RUST_LOG=derive_builder=trace cargo test.

Fixed

  • use full path for result #39
  • support #[deny(missing_docs)] #37
  • support #![no_std] via #[builder(no_std)] #41