Updates bitflags to 2.4
Attempts to preserve some backwards compatibility by deriving additional
traits & adding a deprecated unsafe function from_bits_unchecked
.
However, the replacement of .bits
field to .bits()
method is a
breaking change.
See https://github.com/bitflags/bitflags/releases/tag/2.0.0
Closes #34 (closed)