Skip to content

Commit

Permalink
Prepare 5.0.0-pre.11
Browse files Browse the repository at this point in the history
Signed-off-by: Aron Heinecke <[email protected]>
  • Loading branch information
0xpr03 committed Jul 23, 2021
1 parent 8e63879 commit 71c57b4
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 10 deletions.
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,23 @@

## unreleased

- CHANGE: Make `Watcher` object safe [#336]
## 5.0.0-pre.11 (2021-07-22)

- FEATURE: Add `Kqueue` backend for use on BSD [#335]
- CHANGE: Change EventFn to take FnMut [#333]
- CHANGE: Make `Watcher` object safe [#336]
- FIX: Join thread in `fseven` on shutdown [#337]
- FIX: Only check for ENOSPC on inotify_add_watch in `inotify` [#330]
- FIX: Free context when stream is deallocated in `fsevent` [#329]
- DOCS: Fix missing comma in docs [#340]

[#333]: https://github.com/notify-rs/notify/pull/333
[#336]: https://github.com/notify-rs/notify/pull/336
[#340]: https://github.com/notify-rs/notify/pull/340
[#337]: https://github.com/notify-rs/notify/pull/337
[#335]: https://github.com/notify-rs/notify/pull/335
[#330]: https://github.com/notify-rs/notify/pull/330
[#329]: https://github.com/notify-rs/notify/pull/329

## 5.0.0-pre.10 (2021-06-04)

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "notify"
version = "5.0.0-pre.10"
version = "5.0.0-pre.11"

description = "Cross-platform filesystem notification library"
documentation = "https://docs.rs/notify"
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
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.10].
You likely want either [the latest 4.0 release] or [5.0.0-pre.11].

[the latest 4.0 release]: https://github.com/notify-rs/notify/tree/v4.0.16#notify
[5.0.0-pre.10]: https://github.com/notify-rs/notify/tree/v5.0.0-pre.10#notify
[5.0.0-pre.11]: https://github.com/notify-rs/notify/tree/v5.0.0-pre.11#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.10"
notify = "5.0.0-pre.11"
```

## 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.10", features = ["serde"] }
notify = { version = "5.0.0-pre.11", 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.10/notify/
[docs]: https://docs.rs/notify/5.0.0-pre.11/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
Original file line number Diff line number Diff line change
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.10", features = ["serde"] }
notify = { version = "5.0.0-pre.11", features = ["serde"] }
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
//!
//! ```toml
//! [dependencies]
//! notify = "5.0.0-pre.10"
//! notify = "5.0.0-pre.11"
//! ```
//!
//! ## Serde
//!
//! Events are serialisable via [serde] if the `serde` feature is enabled:
//!
//! ```toml
//! notify = { version = "5.0.0-pre.10", features = ["serde"] }
//! notify = { version = "5.0.0-pre.11", features = ["serde"] }
//! ```
//!
//! [serde]: https://serde.rs
Expand Down

0 comments on commit 71c57b4

Please sign in to comment.