Upgrading bitflags 1 to 2
Breaking1.3.2 → 2.13.2Breaking3Platform1New15Changed7Fixed8Other26
Fetching 33 releases from GitHub…18 / 33
BreakingUpgrade verdict
3 breaking changes and a platform requirement change.
In plain terms
- Remove old unused_tuple_struct_fields lint.
- Delete use of local_inner_macros.
- The way you ask bitflags to generate a name for each flag has changed to a new attribute form.
- Remove rustc internal crate feature.
Must act 4 items need code or config changes
Requires Rust 1.56.0 from 2.0.0 (none stated before).
What you must change
Breaking3
Remove old unused_tuple_struct_fields lint.
unused_tuple_struct_fieldsDelete use of local_inner_macros.
local_inner_macrosReworks the
#[flag_name] feature and re-stabilizes it as #[bitflags(flag_name)].#[flag_name]#[bitflags(flag_name)]Platform1
Remove rustc internal crate feature.