chore(native): upgrade notify to v6 (#2489)

This commit is contained in:
LongYinan 2023-05-22 22:45:43 +08:00 committed by GitHub
parent 0a49258ddd
commit 259d7988d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 19 deletions

21
Cargo.lock generated
View File

@ -305,9 +305,9 @@ dependencies = [
[[package]] [[package]]
name = "notify" name = "notify"
version = "5.1.0" version = "6.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "58ea850aa68a06e48fdb069c0ec44d0d64c8dbffa49bf3b6f7f0a901fdea1ba9" checksum = "4d9ba6c734de18ca27c8cef5cd7058aa4ac9f63596131e4c7e41e579319032a2"
dependencies = [ dependencies = [
"bitflags 1.3.2", "bitflags 1.3.2",
"crossbeam-channel", "crossbeam-channel",
@ -319,7 +319,7 @@ dependencies = [
"mio", "mio",
"serde", "serde",
"walkdir", "walkdir",
"windows-sys 0.42.0", "windows-sys 0.45.0",
] ]
[[package]] [[package]]
@ -652,21 +652,6 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
[[package]]
name = "windows-sys"
version = "0.42.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7"
dependencies = [
"windows_aarch64_gnullvm 0.42.2",
"windows_aarch64_msvc 0.42.2",
"windows_i686_gnu 0.42.2",
"windows_i686_msvc 0.42.2",
"windows_x86_64_gnu 0.42.2",
"windows_x86_64_gnullvm 0.42.2",
"windows_x86_64_msvc 0.42.2",
]
[[package]] [[package]]
name = "windows-sys" name = "windows-sys"
version = "0.45.0" version = "0.45.0"

View File

@ -16,7 +16,7 @@ napi = { version = "2", default-features = false, features = [
"error_anyhow", "error_anyhow",
] } ] }
napi-derive = "2" napi-derive = "2"
notify = { version = "5", features = ["serde"] } notify = { version = "6", features = ["serde"] }
once_cell = "1" once_cell = "1"
parking_lot = "0.12" parking_lot = "0.12"
serde = "1" serde = "1"