mozilla / rkv

A simple, humane, typed key-value storage solution.
https://crates.io/crates/rkv
Apache License 2.0
304 stars 52 forks source link

Upgrade `bitflags` to from 1.2 to 2.4 #238

Closed saschanaz closed 8 months ago

saschanaz commented 8 months ago

This should fix the Nightly failure in #235 (which is not a blocker).

Followed the migration guide of https://github.com/bitflags/bitflags/releases/tag/2.0.0. PartialEq, Eq, Debug, Clone, Copy is to match the BackendFlags requirement:

https://github.com/mozilla/rkv/blob/55a5a4dc94e84d77e25637dc68dc8222c72db403/src/backend/traits.rs#L25