Skip to content

v0.13.0

Latest

Choose a tag to compare

@csnover csnover released this 19 Oct 05:23
· 1 commit to master since this release
v0.13.0
0d204e6

Breaking changes

  • The MSRV is now 1.76. This is not currently a hard requirement of modular-bitfield itself but is instead the path of least resistance due to changes to underlying dev-dependencies, so please open a ticket if you really need support for an even older version of Rust.
  • From<[u8; {n}]> (when conversions are guaranteed) and TryFrom<[u8; {n}]> traits are now automatically derived by #[bitfield]. This will conflict with any manual implementations of the same trait, but you wrote those implementations to do this thing anyway, right? (#120)
  • The BitfieldSpecifier alias, which was deprecated in v0.12, is removed.

Enhancements

  • Diagnostic messages around invalid bit counts have been improved.
  • Minor documentation improvements for the Specifier trait.

Bug fixes

  • Unnecessary brackets in the generated output which were triggering new Clippy lints in Rust 1.90+ have been fixed. (#130)
  • Unnecessary identity operations in the generated output which were triggering Clippy lints in some cases have been fixed. (#131)