Skip to content

Commit

Permalink
Release 4.0.18
Browse files Browse the repository at this point in the history
cargo fmt

Closes #601
  • Loading branch information
0xpr03 committed Jun 26, 2024
1 parent edfc45b commit eae59c5
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 11 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock.min

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 14 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "notify"
version = "4.0.17"
version = "4.0.18"
authors = [
"Félix Saparelli <[email protected]>",
"Jorge Israel Peña <[email protected]>",
"Michael Maurizi <[email protected]>",
"Pierre Baillet <[email protected]>",
"Joe Wilm <[email protected]>",
"Daniel Faust <[email protected]>",
"Aron Heinecke <[email protected]>"
"Aron Heinecke <[email protected]>",
]
description = "Cross-platform filesystem notification library"
documentation = "https://docs.rs/notify"
Expand All @@ -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"
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//!
//! ```toml
//! [dependencies]
//! notify = "4.0.17"
//! notify = "4.0.18"
//! ```
//!
//! # Examples
Expand Down Expand Up @@ -524,7 +524,7 @@ impl From<io::Error> 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)
Expand Down

0 comments on commit eae59c5

Please sign in to comment.