From 85a231f01db35f9606b68fbcfc4d046c3b430986 Mon Sep 17 00:00:00 2001 From: Aron Heinecke Date: Sun, 15 Jan 2023 00:18:03 +0100 Subject: [PATCH] prepare notify 5.1.0 --- CHANGELOG.md | 11 +++++++++++ README.md | 2 +- examples/Cargo.toml | 2 +- examples/hot_reload_tide/Cargo.toml | 2 +- notify-debouncer-mini/Cargo.toml | 2 +- notify/Cargo.toml | 2 +- notify/src/lib.rs | 6 +++--- 7 files changed, 19 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e53963a..34ec8b04 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ v4 commits split out to branch `v4_maintenance` starting with `4.0.16` +## notify 5.1.0 (2023-01-15) + +- CHANGE: switch from winapi to windows-sys [#457] +- FIX: kqueue-backend: batch file-watching together to improve performance [#454] +- DOCS: include license file in crate again [#461] +- DOCS: typo and examples fixups + +[#454]: https://github.com/notify-rs/notify/pull/454 +[#461]: https://github.com/notify-rs/notify/pull/461 +[#457]: https://github.com/notify-rs/notify/pull/457 + ## debouncer-mini 0.2.1 (2022-09-05) - DOCS: correctly document the `crossbeam` feature [#440] diff --git a/README.md b/README.md index a42075d0..8a332075 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ Originally created 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/notify/ +[docs]: https://docs.rs/notify/5.1.0/notify/ [fsnotify]: https://github.com/go-fsnotify/fsnotify [handlebars-iron]: https://github.com/sunng87/handlebars-iron [hotwatch]: https://github.com/francesca64/hotwatch diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 61f92698..1f5a2784 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -5,7 +5,7 @@ publish = false edition = "2021" [dev-dependencies] -notify = { version = "5.0.0" } +notify = { version = "5.1.0" } notify-debouncer-mini = { version = "0.2.0" } futures = "0.3" diff --git a/examples/hot_reload_tide/Cargo.toml b/examples/hot_reload_tide/Cargo.toml index 66a87c17..73f602b7 100644 --- a/examples/hot_reload_tide/Cargo.toml +++ b/examples/hot_reload_tide/Cargo.toml @@ -11,7 +11,7 @@ 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", features = ["serde"], path = "../../notify" } +notify = { version = "5.1.0", features = ["serde"], path = "../../notify" } # required to prevent mixing with workspace # hack to prevent cargo audit from catching this diff --git a/notify-debouncer-mini/Cargo.toml b/notify-debouncer-mini/Cargo.toml index f4ec4b78..956a34f4 100644 --- a/notify-debouncer-mini/Cargo.toml +++ b/notify-debouncer-mini/Cargo.toml @@ -24,6 +24,6 @@ default = ["crossbeam"] crossbeam = ["crossbeam-channel","notify/crossbeam-channel"] [dependencies] -notify = "5.0.0" +notify = "5.1.0" crossbeam-channel = { version = "0.5", optional = true } serde = { version = "1.0.89", features = ["derive"], optional = true } diff --git a/notify/Cargo.toml b/notify/Cargo.toml index f08e666a..3f05c992 100644 --- a/notify/Cargo.toml +++ b/notify/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "notify" -version = "5.0.0" +version = "5.1.0" rust-version = "1.56" description = "Cross-platform filesystem notification library" documentation = "https://docs.rs/notify" diff --git a/notify/src/lib.rs b/notify/src/lib.rs index 93dc7353..fd8049d8 100644 --- a/notify/src/lib.rs +++ b/notify/src/lib.rs @@ -4,7 +4,7 @@ //! //! ```toml //! [dependencies] -//! notify = "5.0.0" +//! notify = "5.1.0" //! ``` //! //! If you want debounced events, see [notify-debouncer-mini](https://github.com/notify-rs/notify/tree/main/notify-debouncer-mini) @@ -23,7 +23,7 @@ //! Events are serialisable via [serde](https://serde.rs) if the `serde` feature is enabled: //! //! ```toml -//! notify = { version = "5.0.0", features = ["serde"] } +//! notify = { version = "5.1.0", features = ["serde"] } //! ``` //! //! ### Crossbeam-Channel & Tokio @@ -34,7 +34,7 @@ //! You can disable crossbeam-channel, letting notify fallback to std channels via //! //! ```toml -//! notify = { version = "5.0.0", default-features = false, features = ["macos_kqueue"] } +//! notify = { version = "5.1.0", default-features = false, features = ["macos_kqueue"] } //! // Alternatively macos_fsevent instead of macos_kqueue //! ``` //! Note the `macos_kqueue` requirement here, otherwise no backend is available on macos.