Skip to content

Commit ae5c055

Browse files
committed
Prepare 5.0.0-pre.15, msrv 1.56
Raise MSRV to 1.56 to allow for rust-version
1 parent 480de9d commit ae5c055

File tree

8 files changed

+24
-13
lines changed

8 files changed

+24
-13
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
matrix:
2020
version:
21-
- 1.50.0 # MSRV
21+
- 1.56.0 # MSRV
2222
- stable
2323
- nightly
2424
os: [ubuntu-latest, macos-latest, windows-latest]

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@
2121

2222
## unreleased
2323

24+
## 5.0.0-pre.15 (2022-04-30)
25+
26+
- CHANGE: raise MSRV to 1.56! [#396][#402]
27+
- FEATURE: add support for pseudo filesystems like sysfs/procfs [#396]
28+
- FIX: Fix builds on (Free)BSD due to changes in kqueue fix release [#399]
29+
30+
[#396]: https://github.com/notify-rs/notify/pull/396
31+
[#399]: https://github.com/notify-rs/notify/pull/399
32+
[#402]: https://github.com/notify-rs/notify/pull/402
33+
2434
## 5.0.0-pre.14 (2022-03-13)
2535

2636
- CHANGE: upgrade mio to 0.8 [#386]

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "notify"
3-
version = "5.0.0-pre.14"
4-
3+
version = "5.0.0-pre.15"
4+
rust-version = "1.56"
55
description = "Cross-platform filesystem notification library"
66
documentation = "https://docs.rs/notify"
77
homepage = "https://github.com/notify-rs/notify"
@@ -15,7 +15,7 @@ authors = [
1515
"Daniel Faust <[email protected]>"
1616
]
1717

18-
edition = "2018"
18+
edition = "2021"
1919
exclude = [
2020
"/clippy.toml",
2121
".github/*"

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ _Cross-platform filesystem notification library for Rust._
1111

1212
**Caution! This is unstable code!**
1313

14-
You likely want either [the latest 4.0 release] or [5.0.0-pre.14].
14+
You likely want either [the latest 4.0 release] or [5.0.0-pre.15].
1515

1616
[the latest 4.0 release]: https://github.com/notify-rs/notify/tree/v4.0.16#notify
17-
[5.0.0-pre.14]: https://github.com/notify-rs/notify/tree/5.0.0-pre.14#notify
17+
[5.0.0-pre.15]: https://github.com/notify-rs/notify/tree/5.0.0-pre.15#notify
1818

1919
(Looking for desktop notifications instead? Have a look at [notify-rust] or
2020
[alert-after]!)
@@ -33,7 +33,7 @@ As used by: [alacritty], [cargo watch], [cobalt], [docket], [mdBook], [pax],
3333
```toml
3434
[dependencies]
3535
crossbeam-channel = "0.4.0"
36-
notify = "5.0.0-pre.14"
36+
notify = "5.0.0-pre.15"
3737
```
3838

3939
## Usage
@@ -146,7 +146,7 @@ let mut watcher: RecommendedWatcher = Watcher::immediate_with_channel(tx)?;
146146
Events can be serialisable via [serde]. To enable the feature:
147147

148148
```toml
149-
notify = { version = "5.0.0-pre.14", features = ["serde"] }
149+
notify = { version = "5.0.0-pre.15", features = ["serde"] }
150150
```
151151

152152
## Platforms
@@ -199,7 +199,7 @@ Written by [Félix Saparelli] and awesome [contributors].
199199
[contributors]: https://github.com/notify-rs/notify/graphs/contributors
200200
[crate]: https://crates.io/crates/notify
201201
[docket]: https://iwillspeak.github.io/docket/
202-
[docs]: https://docs.rs/notify/5.0.0-pre.14/notify/
202+
[docs]: https://docs.rs/notify/5.0.0-pre.15/notify/
203203
[fsnotify]: https://github.com/go-fsnotify/fsnotify
204204
[handlebars-iron]: https://github.com/sunng87/handlebars-iron
205205
[hotwatch]: https://github.com/francesca64/hotwatch

examples/hot_reload_tide/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ tide = "0.16.0"
1111
async-std = { version = "1.6.0", features = ["attributes"] }
1212
serde_json = "1.0"
1313
serde = "1.0.115"
14-
notify = { version = "5.0.0-pre.14", features = ["serde"] }
14+
notify = { version = "5.0.0-pre.15", features = ["serde"] }

examples/watcher_kind/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ edition = "2018"
77
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
88

99
[dependencies]
10-
notify = { version = "5.0.0-pre.14", path = "../../" }
10+
notify = { version = "5.0.0-pre.15", path = "../../" }

src/fsevent.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,7 @@ impl FsEventWatcher {
435435
let thread_handle = thread::Builder::new()
436436
.name("notify-rs fsevents loop".to_string())
437437
.spawn(move || {
438+
let _ = &stream;
438439
let stream = stream.0;
439440

440441
unsafe {

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
//!
55
//! ```toml
66
//! [dependencies]
7-
//! notify = "5.0.0-pre.14"
7+
//! notify = "5.0.0-pre.15"
88
//! ```
99
//!
1010
//! ## Serde
1111
//!
1212
//! Events are serialisable via [serde] if the `serde` feature is enabled:
1313
//!
1414
//! ```toml
15-
//! notify = { version = "5.0.0-pre.14", features = ["serde"] }
15+
//! notify = { version = "5.0.0-pre.15", features = ["serde"] }
1616
//! ```
1717
//!
1818
//! [serde]: https://serde.rs

0 commit comments

Comments
 (0)