Skip to content

Commit eae59c5

Browse files
committed
Release 4.0.18
cargo fmt Closes #601
1 parent edfc45b commit eae59c5

File tree

5 files changed

+24
-11
lines changed

5 files changed

+24
-11
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 4.0.18 (2024-06-26)
4+
5+
- FIX: Add missing winapi features [#603]
6+
7+
[#603]: https://github.com/notify-rs/notify/pull/603
8+
39
## 4.0.17 (2021-05-13)
410

511
- FIX: Don't crash on macos when creating & deleting folders in rapid succession [#303]

Cargo.lock.min

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[package]
22
name = "notify"
3-
version = "4.0.17"
3+
version = "4.0.18"
44
authors = [
55
"Félix Saparelli <me@passcod.name>",
66
"Jorge Israel Peña <jorge.israel.p@gmail.com>",
77
"Michael Maurizi <michael.maurizi@gmail.com>",
88
"Pierre Baillet <oct@zoy.org>",
99
"Joe Wilm <joe@jwilm.com>",
1010
"Daniel Faust <hessijames@gmail.com>",
11-
"Aron Heinecke <Ox0p54r36@t-online.de>"
11+
"Aron Heinecke <Ox0p54r36@t-online.de>",
1212
]
1313
description = "Cross-platform filesystem notification library"
1414
documentation = "https://docs.rs/notify"
@@ -18,10 +18,7 @@ readme = "README.md"
1818
license = "CC0-1.0"
1919
keywords = ["events", "filesystem", "notify", "watch"]
2020
categories = ["filesystem"]
21-
exclude = [
22-
"/clippy.toml",
23-
".github/*"
24-
]
21+
exclude = ["/clippy.toml", ".github/*"]
2522

2623
[dependencies]
2724
bitflags = "^1.0.4"
@@ -39,7 +36,17 @@ fsevent = "0.4"
3936
fsevent-sys = "2"
4037

4138
[target.'cfg(windows)'.dependencies]
42-
winapi = { version = "0.3.8", features = ["fileapi", "handleapi", "ioapiset", "minwinbase", "std", "synchapi", "winbase", "winerror", "winnt"] }
39+
winapi = { version = "0.3.8", features = [
40+
"fileapi",
41+
"handleapi",
42+
"ioapiset",
43+
"minwinbase",
44+
"std",
45+
"synchapi",
46+
"winbase",
47+
"winerror",
48+
"winnt",
49+
] }
4350

4451
[dev-dependencies]
4552
tempfile = "3"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ As used by: [alacritty], [cargo watch], [cobalt], [docket], [handlebars-iron],
2323

2424
```toml
2525
[dependencies]
26-
notify = "4.0.17"
26+
notify = "4.0.18"
2727
```
2828

2929
## Usage

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//!
77
//! ```toml
88
//! [dependencies]
9-
//! notify = "4.0.17"
9+
//! notify = "4.0.18"
1010
//! ```
1111
//!
1212
//! # Examples
@@ -524,7 +524,7 @@ impl From<io::Error> for Error {
524524
#[cfg(target_os = "linux")]
525525
{
526526
if err.raw_os_error() == Some(28) {
527-
return Error::Generic(String::from("Can't watch (more) files, limit on the total number of inotify watches reached"))
527+
return Error::Generic(String::from("Can't watch (more) files, limit on the total number of inotify watches reached"));
528528
}
529529
}
530530
Error::Io(err)

0 commit comments

Comments
 (0)