Skip to content

Releases: bitflags/bitflags

0.9.0

29 May 16:11
Compare
Choose a tag to compare
  • [breaking change] Use struct keyword instead of flags to define bitflag types (#84)
  • [breaking change] Terminate const items with semicolons instead of commas (#87)
  • Implement the Hex, Octal, and Binary formatting traits (#86)
  • Printing an empty flag value with the Debug trait now prints "(empty)" instead of nothing (#85)
  • The bitflags! macro can now be used inside of a fn body, to define a type local to that function (#74)

0.8.2

29 May 16:11
Compare
Choose a tag to compare
  • Update feature flag used when building bitflags as a dependency of the Rust toolchain

0.8.1

29 May 16:11
Compare
Choose a tag to compare
  • Allow bitflags to be used as a dependency of the Rust toolchain

0.8.0

29 May 16:11
Compare
Choose a tag to compare
  • Add support for the experimental i128 and u128 integer types (#57)
  • Add set method: flags.set(SOME_FLAG, true) or flags.set(SOME_FLAG, false) (#55)
    This may break code that defines its own set method

0.7.1

29 May 16:11
Compare
Choose a tag to compare

(yanked)

0.7.0

29 May 16:11
Compare
Choose a tag to compare
  • Implement the Extend trait (#49)
  • Allow definitions inside the bitflags! macro to refer to items imported from other modules (#51)

0.6.0

29 May 16:11
Compare
Choose a tag to compare
  • The no_std feature was removed as it is now the default
  • The assignment_operators feature was remove as it is now enabled by default
  • Some clippy suggestions have been applied