All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Don't use
__bitfield_*
macros from the code generated by the proc-macros. Otherwise, they need to be imported by the calling code. - Allow
mask
,from
andìnto
as getter names.
0.18.0 - 2025-01-27
- With the new proc macro implementation some corner-cases that were not handled are now handled correctly.
- The syntax to create a constructor by specifying individual fields has been removed.
- Some syntax that was supposed to be internal and implementation details are now rejected.
0.17.0 - 2024-09-08
- Changes published as 0.16.2 (version now yanked) was breaking
0.16.2 - 2024-09-07
- Allow creating bitfield structs with arbitrary visibilities, thanks to @ADSteele916
0.16.1 - 2024-07-25
- Implement bitwise operations for all array-Like inner types, using
AsRef
/AsMut
, thanks to @PokeJofeJr4th - Allow to derive constructors, thanks to @PokeJofeJr4th
0.16.0 - 2024-07-22
- Easily Derive Bitwise Operations, thanks to @PokeJofeJr4th
- The minimum rustc version is now 1.79.0
0.15.0 - 2024-04-09
- Allow to generate mask for a field
- The minimum rustc version is now 1.46.0
0.14.0 - 2022-07-11
- Getters work with immutable Data
- The minimum rustc version is now 1.31.0
- The setters of the
BitRange
andBit
has been separated in theBitRangeMut
andBitMut
traits.
0.13.2 - 2019-05-28
from into
can be used in place offrom
to change the input type of the setter. Thanks to @roblabla