Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare 5.0.0-pre.15 #402

Merged
merged 1 commit into from May 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
matrix:
version:
- 1.50.0 # MSRV
- 1.56.0 # MSRV
- stable
- nightly
os: [ubuntu-latest, macos-latest, windows-latest]
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Expand Up @@ -21,6 +21,16 @@

## unreleased

## 5.0.0-pre.15 (2022-04-30)

- CHANGE: raise MSRV to 1.56! [#396][#402]
- FEATURE: add support for pseudo filesystems like sysfs/procfs [#396]
- FIX: Fix builds on (Free)BSD due to changes in kqueue fix release [#399]

[#396]: https://github.com/notify-rs/notify/pull/396
[#399]: https://github.com/notify-rs/notify/pull/399
[#402]: https://github.com/notify-rs/notify/pull/402

## 5.0.0-pre.14 (2022-03-13)

- CHANGE: upgrade mio to 0.8 [#386]
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "notify"
version = "5.0.0-pre.14"

version = "5.0.0-pre.15"
rust-version = "1.56"
description = "Cross-platform filesystem notification library"
documentation = "https://docs.rs/notify"
homepage = "https://github.com/notify-rs/notify"
Expand All @@ -15,7 +15,7 @@ authors = [
"Daniel Faust <hessijames@gmail.com>"
]

edition = "2018"
edition = "2021"
exclude = [
"/clippy.toml",
".github/*"
Expand Down
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -11,10 +11,10 @@ _Cross-platform filesystem notification library for Rust._

**Caution! This is unstable code!**

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

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

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

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

```toml
notify = { version = "5.0.0-pre.14", features = ["serde"] }
notify = { version = "5.0.0-pre.15", features = ["serde"] }
```

## Platforms
Expand Down Expand Up @@ -199,7 +199,7 @@ Written by [F茅lix Saparelli] and awesome [contributors].
[contributors]: https://github.com/notify-rs/notify/graphs/contributors
[crate]: https://crates.io/crates/notify
[docket]: https://iwillspeak.github.io/docket/
[docs]: https://docs.rs/notify/5.0.0-pre.14/notify/
[docs]: https://docs.rs/notify/5.0.0-pre.15/notify/
[fsnotify]: https://github.com/go-fsnotify/fsnotify
[handlebars-iron]: https://github.com/sunng87/handlebars-iron
[hotwatch]: https://github.com/francesca64/hotwatch
Expand Down
2 changes: 1 addition & 1 deletion examples/hot_reload_tide/Cargo.toml
Expand Up @@ -11,4 +11,4 @@ tide = "0.16.0"
async-std = { version = "1.6.0", features = ["attributes"] }
serde_json = "1.0"
serde = "1.0.115"
notify = { version = "5.0.0-pre.14", features = ["serde"] }
notify = { version = "5.0.0-pre.15", features = ["serde"] }
2 changes: 1 addition & 1 deletion examples/watcher_kind/Cargo.toml
Expand Up @@ -7,4 +7,4 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
notify = { version = "5.0.0-pre.14", path = "../../" }
notify = { version = "5.0.0-pre.15", path = "../../" }
1 change: 1 addition & 0 deletions src/fsevent.rs
Expand Up @@ -435,6 +435,7 @@ impl FsEventWatcher {
let thread_handle = thread::Builder::new()
.name("notify-rs fsevents loop".to_string())
.spawn(move || {
let _ = &stream;
let stream = stream.0;

unsafe {
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Expand Up @@ -4,15 +4,15 @@
//!
//! ```toml
//! [dependencies]
//! notify = "5.0.0-pre.14"
//! notify = "5.0.0-pre.15"
//! ```
//!
//! ## Serde
//!
//! Events are serialisable via [serde] if the `serde` feature is enabled:
//!
//! ```toml
//! notify = { version = "5.0.0-pre.14", features = ["serde"] }
//! notify = { version = "5.0.0-pre.15", features = ["serde"] }
//! ```
//!
//! [serde]: https://serde.rs
Expand Down