From 24d412d9d2ea417d9105c8043108f432c3011cde Mon Sep 17 00:00:00 2001 From: renovate <29139614+renovate@users.noreply.github.com> Date: Sat, 26 Oct 2024 12:02:16 +0000 Subject: [PATCH] chore: bump up Rust crate notify to v7 (#8605) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [notify](https://redirect.github.com/notify-rs/notify) | workspace.dependencies | major | `6` -> `7` | --- ### Release Notes
notify-rs/notify (notify) ### [`v7.0.0`](https://redirect.github.com/notify-rs/notify/blob/HEAD/CHANGELOG.md#notify-700-2024-10-25) [Compare Source](https://redirect.github.com/notify-rs/notify/compare/notify-6.1.1...notify-7.0.0) - CHANGE: raise MSRV to 1.72 [#​569] [#​610] **breaking** - CHANGE: move event type to notify-types crate [#​559] - CHANGE: flatten serialization of events and use camelCase [#​558] - CHANGE: remove internal use of crossbeam channels [#​569] [#​610] - CHANGE: rename feature `crossbeam` to `crossbeam-channel` and disable it by default [#​610] **breaking** - CHANGE: upgrade mio to 1.0 [#​623] - CHANGE: add log statements [#​499] - FIX: prevent UB with illegal instruction for the windows backend [#​604] [#​607] - FIX: on Linux report deleted directories correctly [#​545] - FIX: on Linux report access open events [#​612] - FEATURE: enable kqueue on iOS [#​533] - MISC: various minor doc updates and fixes [#​535] [#​536] [#​543] [#​565] [#​592] [#​595] - MISC: update inotify to 0.10 [#​547] [#​499]: https://redirect.github.com/notify-rs/notify/pull/499 [#​533]: https://redirect.github.com/notify-rs/notify/pull/533 [#​535]: https://redirect.github.com/notify-rs/notify/pull/535 [#​536]: https://redirect.github.com/notify-rs/notify/pull/536 [#​543]: https://redirect.github.com/notify-rs/notify/pull/543 [#​545]: https://redirect.github.com/notify-rs/notify/pull/545 [#​547]: https://redirect.github.com/notify-rs/notify/pull/547 [#​558]: https://redirect.github.com/notify-rs/notify/pull/558 [#​559]: https://redirect.github.com/notify-rs/notify/pull/559 [#​565]: https://redirect.github.com/notify-rs/notify/pull/565 [#​569]: https://redirect.github.com/notify-rs/notify/pull/569 [#​592]: https://redirect.github.com/notify-rs/notify/pull/592 [#​595]: https://redirect.github.com/notify-rs/notify/pull/595 [#​604]: https://redirect.github.com/notify-rs/notify/pull/604 [#​607]: https://redirect.github.com/notify-rs/notify/pull/607 [#​610]: https://redirect.github.com/notify-rs/notify/pull/610 [#​612]: https://redirect.github.com/notify-rs/notify/pull/612 [#​623]: https://redirect.github.com/notify-rs/notify/pull/623
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). --- Cargo.lock | 58 ++++++++++++++++++++++++++---------------------------- Cargo.toml | 2 +- 2 files changed, 29 insertions(+), 31 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1cb306aa5..c5138b198 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -331,15 +331,6 @@ version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" -[[package]] -name = "crossbeam-channel" -version = "0.5.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33480d6946193aa8033910124896ca395333cae7e2d1113d1fef6c3272217df2" -dependencies = [ - "crossbeam-utils", -] - [[package]] name = "crossbeam-queue" version = "0.3.11" @@ -772,9 +763,9 @@ dependencies = [ [[package]] name = "inotify" -version = "0.9.6" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8069d3ec154eb856955c1c0fbffefbf5f3c40a104ec912d4797314c1801abff" +checksum = "fdd168d97690d0b8c412d6b6c10360277f4d7ee495c5d0d5d5fe0854923255cc" dependencies = [ "bitflags 1.3.2", "inotify-sys", @@ -790,6 +781,15 @@ dependencies = [ "libc", ] +[[package]] +name = "instant" +version = "0.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" +dependencies = [ + "cfg-if", +] + [[package]] name = "itoa" version = "1.0.11" @@ -993,18 +993,6 @@ dependencies = [ "adler2", ] -[[package]] -name = "mio" -version = "0.8.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" -dependencies = [ - "libc", - "log", - "wasi", - "windows-sys 0.48.0", -] - [[package]] name = "mio" version = "1.0.2" @@ -1013,6 +1001,7 @@ checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec" dependencies = [ "hermit-abi", "libc", + "log", "wasi", "windows-sys 0.52.0", ] @@ -1096,22 +1085,31 @@ dependencies = [ [[package]] name = "notify" -version = "6.1.1" +version = "7.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6205bd8bb1e454ad2e27422015fb5e4f2bcc7e08fa8f27058670d208324a4d2d" +checksum = "c533b4c39709f9ba5005d8002048266593c1cfaf3c5f0739d5b8ab0c6c504009" dependencies = [ "bitflags 2.6.0", - "crossbeam-channel", "filetime", "fsevent-sys", "inotify", "kqueue", "libc", "log", - "mio 0.8.11", - "serde", + "mio", + "notify-types", "walkdir", - "windows-sys 0.48.0", + "windows-sys 0.52.0", +] + +[[package]] +name = "notify-types" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7393c226621f817964ffb3dc5704f9509e107a8b024b489cc2c1b217378785df" +dependencies = [ + "instant", + "serde", ] [[package]] @@ -2050,7 +2048,7 @@ dependencies = [ "backtrace", "bytes", "libc", - "mio 1.0.2", + "mio", "parking_lot", "pin-project-lite", "signal-hook-registry", diff --git a/Cargo.toml b/Cargo.toml index 8c080a528..3d4a873a7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ mimalloc = "0.1" napi = { version = "3.0.0-alpha.12", features = ["async", "chrono_date", "error_anyhow", "napi9", "serde"] } napi-build = { version = "2" } napi-derive = { version = "3.0.0-alpha.12" } -notify = { version = "6", features = ["serde"] } +notify = { version = "7", features = ["serde"] } once_cell = "1" parking_lot = "0.12" rand = "0.8"