diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c21b7a2..696ba40b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 4.0.18 (2024-06-26) + +- FIX: Add missing winapi features [#603] + +[#603]: https://github.com/notify-rs/notify/pull/603 + ## 4.0.17 (2021-05-13) - FIX: Don't crash on macos when creating & deleting folders in rapid succession [#303] diff --git a/Cargo.lock.min b/Cargo.lock.min index 0b08869d..168e2b47 100644 --- a/Cargo.lock.min +++ b/Cargo.lock.min @@ -177,7 +177,7 @@ dependencies = [ [[package]] name = "notify" -version = "4.0.17" +version = "4.0.18" dependencies = [ "bitflags 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "filetime 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index c1a1ef3b..63e3cefc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "notify" -version = "4.0.17" +version = "4.0.18" authors = [ "Félix Saparelli ", "Jorge Israel Peña ", @@ -8,7 +8,7 @@ authors = [ "Pierre Baillet ", "Joe Wilm ", "Daniel Faust ", - "Aron Heinecke " + "Aron Heinecke ", ] description = "Cross-platform filesystem notification library" documentation = "https://docs.rs/notify" @@ -18,10 +18,7 @@ readme = "README.md" license = "CC0-1.0" keywords = ["events", "filesystem", "notify", "watch"] categories = ["filesystem"] -exclude = [ - "/clippy.toml", - ".github/*" -] +exclude = ["/clippy.toml", ".github/*"] [dependencies] bitflags = "^1.0.4" @@ -39,7 +36,17 @@ fsevent = "0.4" fsevent-sys = "2" [target.'cfg(windows)'.dependencies] -winapi = { version = "0.3.8", features = ["fileapi", "handleapi", "ioapiset", "minwinbase", "std", "synchapi", "winbase", "winerror", "winnt"] } +winapi = { version = "0.3.8", features = [ + "fileapi", + "handleapi", + "ioapiset", + "minwinbase", + "std", + "synchapi", + "winbase", + "winerror", + "winnt", +] } [dev-dependencies] tempfile = "3" diff --git a/README.md b/README.md index def5a07b..0b0fdba6 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ As used by: [alacritty], [cargo watch], [cobalt], [docket], [handlebars-iron], ```toml [dependencies] -notify = "4.0.17" +notify = "4.0.18" ``` ## Usage diff --git a/src/lib.rs b/src/lib.rs index 19cd225b..31db3d5f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,7 +6,7 @@ //! //! ```toml //! [dependencies] -//! notify = "4.0.17" +//! notify = "4.0.18" //! ``` //! //! # Examples @@ -524,7 +524,7 @@ impl From for Error { #[cfg(target_os = "linux")] { if err.raw_os_error() == Some(28) { - return Error::Generic(String::from("Can't watch (more) files, limit on the total number of inotify watches reached")) + return Error::Generic(String::from("Can't watch (more) files, limit on the total number of inotify watches reached")); } } Error::Io(err)