Releases: gregorygaines/bitfields-rs
Releases · gregorygaines/bitfields-rs
v1.0.0
What's Changed
- Fix overflow in
from_bits
when field size is the same as bitfield in sizeu32
and higher. - Change bitfield field constants from
usize
tou32
. This will give us consistent cross-platform behavior betweeen size and memory efficiency.
New Contributors
- @reitermarkus made their first contribution in #27
v0.13.1
What's Changed
- Added
#[bitfield(neg = true)
to generate field getters to invert bits. - Update cargo rust version to 1.83.
- Document associated constants.
v0.12.4
Changelog
- Add
#![no_std]
to api export
v0.12.3
Changelog
- Display proper bits in generated getter/setter documentation
- Fix multiple bool fields failing to compile
- Bump dependencies to latest version
- Update doc examples that would fail to compile
v0.12.0
Changelog
- Bitfields can now be converting back into builders using the
to_builder
function.
v0.11.0
Changelog
- Read only fields can now be set during construction using the builder rather than just
from_bits
.
v0.10.0
Change log
- A bitfield can be set or cleared with
set_bits
,set_bits_with_defaults
,clear_bits
,clear_bits_with_defaults
.
v0.9.0
Change log
- Users can now access ignored fields like normal struct fields.
- Updated documentation.
v0.8.0
Change log
- Ability to ignore fields.
- Updated documentation.
v0.7.1
Change log
- Improve lib documentation