chore: bump up Rust crate notify to v7 (#8605)

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

<details>
<summary>notify-rs/notify (notify)</summary>

### [`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 [#&#8203;569] [#&#8203;610] **breaking**
-   CHANGE: move event type to notify-types crate [#&#8203;559]
-   CHANGE: flatten serialization of events and use camelCase [#&#8203;558]
-   CHANGE: remove internal use of crossbeam channels [#&#8203;569] [#&#8203;610]
-   CHANGE: rename feature `crossbeam` to `crossbeam-channel` and disable it by default [#&#8203;610] **breaking**
-   CHANGE: upgrade mio to 1.0 [#&#8203;623]
-   CHANGE: add log statements [#&#8203;499]
-   FIX: prevent UB with illegal instruction for the windows backend [#&#8203;604] [#&#8203;607]
-   FIX: on Linux report deleted directories correctly [#&#8203;545]
-   FIX: on Linux report access open events [#&#8203;612]
-   FEATURE: enable kqueue on iOS [#&#8203;533]
-   MISC: various minor doc updates and fixes [#&#8203;535] [#&#8203;536] [#&#8203;543] [#&#8203;565] [#&#8203;592] [#&#8203;595]
-   MISC: update inotify to 0.10 [#&#8203;547]

[#&#8203;499]: https://redirect.github.com/notify-rs/notify/pull/499

[#&#8203;533]: https://redirect.github.com/notify-rs/notify/pull/533

[#&#8203;535]: https://redirect.github.com/notify-rs/notify/pull/535

[#&#8203;536]: https://redirect.github.com/notify-rs/notify/pull/536

[#&#8203;543]: https://redirect.github.com/notify-rs/notify/pull/543

[#&#8203;545]: https://redirect.github.com/notify-rs/notify/pull/545

[#&#8203;547]: https://redirect.github.com/notify-rs/notify/pull/547

[#&#8203;558]: https://redirect.github.com/notify-rs/notify/pull/558

[#&#8203;559]: https://redirect.github.com/notify-rs/notify/pull/559

[#&#8203;565]: https://redirect.github.com/notify-rs/notify/pull/565

[#&#8203;569]: https://redirect.github.com/notify-rs/notify/pull/569

[#&#8203;592]: https://redirect.github.com/notify-rs/notify/pull/592

[#&#8203;595]: https://redirect.github.com/notify-rs/notify/pull/595

[#&#8203;604]: https://redirect.github.com/notify-rs/notify/pull/604

[#&#8203;607]: https://redirect.github.com/notify-rs/notify/pull/607

[#&#8203;610]: https://redirect.github.com/notify-rs/notify/pull/610

[#&#8203;612]: https://redirect.github.com/notify-rs/notify/pull/612

[#&#8203;623]: https://redirect.github.com/notify-rs/notify/pull/623

</details>

---

### 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.

---

 - [ ] <!-- rebase-check -->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).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjAuMSIsInVwZGF0ZWRJblZlciI6IjM4LjEyMC4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
This commit is contained in:
renovate 2024-10-26 12:02:16 +00:00
parent 829361a910
commit 24d412d9d2
No known key found for this signature in database
GPG Key ID: 30B1140CE1C07C99
2 changed files with 29 additions and 31 deletions

58
Cargo.lock generated
View File

@ -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",

View File

@ -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"