Use `bitflags` crate to implement bit flags
Kixunil opened this issue · 3 comments
Kixunil commented
The crate is well-established, maintained by several Rust developers and considered idiomatic for implementing bit flags.
apoelstra commented
I like it -- but their MSRV is 1.46 unfortunately which is ahead of us.
Kixunil commented
I guess there could be an older, sufficiently good version. The macro is not rocket science and I don't expect any vulnerabilities. At worst we could fork it/copy-paste it.