Repository navigation
v0.5.2
Highlights
- Generated builder functions and the
Initstruct are documented, using the field doc comments, so#![deny(missing_docs)]passes; - New
BuilderFieldNamesderive with aFIELD_NAMESconst; - 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 fromnew()andInitcalls.
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