Closed mooreniemi closed 2 years ago
Hi just bumping on this. I responded to your comments and can't proceed without more feedback.
Sorry for delays, and thanks very much for your feedback, was great to learn proper way to do the BitOr
here.
Do you think this can go up as a new crate version in the next week? I'd like to take a dependency on this functionality soon.
I think using
pub mod const
s here achieves least surprise for users and minimizes boilerplate to makeenum
like abitmask
. (There's this crate, and this crate, but it seems a lot just to makeenum
have something likeimpl BitOr
/ allow for "and"ing options.)I could attempt to test this by creating a temporary index file and open it with these flags, too.
Not sure if you'd really want to version bump on this.