Skip to content

Commit

Permalink
Merge pull request #211 from LeoniePhiline/deps/upgrade-bitflags-v1-t…
Browse files Browse the repository at this point in the history
…o-v2

Update dependency `bitflags` from v1 to v2
  • Loading branch information
hannobraun committed Nov 22, 2023
2 parents dc84bbf + f476559 commit 39b6429
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ stream = ["futures-core", "tokio"]


[dependencies]
bitflags = "1"
bitflags = "2"
futures-core = { version = "0.3.1", optional = true }
inotify-sys = "0.1.3"
libc = "0.2"
Expand Down
1 change: 1 addition & 0 deletions src/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ bitflags! {
/// Please refer to the documentation of [`Event`] for a usage example.
///
/// [`Event`]: struct.Event.html
#[derive(PartialEq, Eq, PartialOrd, Ord, Hash, Debug, Clone, Copy)]
pub struct EventMask: u32 {
/// File was accessed
///
Expand Down
1 change: 1 addition & 0 deletions src/watches.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ bitflags! {
/// ```
///
/// [`Watches::add`]: struct.Watches.html#method.add
#[derive(PartialEq, Eq, PartialOrd, Ord, Hash, Debug, Clone, Copy)]
pub struct WatchMask: u32 {
/// File was accessed
///
Expand Down

0 comments on commit 39b6429

Please sign in to comment.