enumflags2_derive breaking changes

cargo

5 curated breaking changes across major versions of enumflags2_derive. Use this as a migration checklist before bumping dependencies.

5
changes
Breaking changes by transition
  • v0.6.4 \u2192 v0.7.0breaking

    This allows a long-awaited feature: when a discriminant isn't provided, the macro will choose an unused bit for you.

  • v0.6.4 \u2192 v0.7.0breaking

    You can now create instances of `BitFlags` without repeating the name: `make_bitflags!(MyFlags::{Foo, Bar})` instead of `MyFlags::Foo | MyFlags::Bar`. Works in a `const fn`, too!

  • v0.6.4 \u2192 v0.7.0breaking

    Many new APIs that allow working with `BitFlags` in a `const fn` despite rustc limitations

  • v0.6.4 \u2192 v0.7.0breaking

    Many improved error messages

  • v0.6.4 \u2192 v0.7.0breaking

    Implementation details do not show up in user documentation anymore

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/cargo/enumflags2_derive
enumflags2_derive breaking changes — Cargo migration guide | DepScope