Skip to content

v0.5.2

Choose a tag to compare

@abdolence abdolence released this 27 Sep 10:38
· 2 commits to master since this release
de923a6

Highlights

  • Generated builder functions and the Init struct are documented, using the field doc comments, so #![deny(missing_docs)] passes;
  • New BuilderFieldNames derive with a FIELD_NAMES const;
  • Raw identifier fields, const generics and mixed lifetime/type generics support;
  • Non-string #[default] literals: #[default = 100], #[default = true].

Be aware of two changes when upgrading:

  • The minimum supported Rust version is now 1.71 (syn 3);
  • #[default = true] and #[default = false] were ignored in 0.5.1 and the field stayed required. Now they make the field optional, so remove such fields from new() and Init calls.

What's Changed

  • Update Rust crate syn to v2 by @renovate[bot] in #3
  • Update Rust crate syn to v3 by @renovate[bot] in #7
  • feat: generated docs, BuilderFieldNames derive and syn 3 for 0.5.2 by @abdolence in #8
  • fix: address 0.5.2 review findings before release by @abdolence in #9
  • chore: drop the missing readme from the rsb_test manifest by @abdolence in #10

Full Changelog: v0.5.1...v0.5.2