hannobraun / inotify-rs

Idiomatic inotify wrapper for the Rust programming language
ISC License
254 stars 64 forks source link

Update dependency `bitflags` from v1 to v2 #211

Closed LeoniePhiline closed 9 months ago

LeoniePhiline commented 9 months ago

This change updates bitflags from v1 to v2.

bitflags v2 no longer implements PartialEq, Eq, PartialOrd, Ord, Hash, Debug, Clone and Copy for generated structs by default.

For backwards compatibility of EventMask and WatchMask (both part of the public API) these standard traits are deliberately derived, in line with the rust library API guidelines.

Implements #210.