rust-mobile / android-activity

Glue for building Rust applications on Android with NativeActivity or GameActivity
239 stars 48 forks source link

Bump `bitflags` to v2 #85

Closed daxpedda closed 1 year ago

daxpedda commented 1 year ago

Changelog: https://github.com/bitflags/bitflags/blob/2.0.0/CHANGELOG.md#200.

This is a breaking change. The API that is implemented by the macro is now different.

I was a bit liberal with deriving std traits on public types, which mimics the behavior of bitflags v1, let me know if we don't need all these traits. Potentially we could at least drop PartialOrd and Ord.

Replaces https://github.com/zakarumych/gpu-alloc/pull/70.

daxpedda commented 1 year ago

Apologies for my absence, thanks for getting this done!