Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 21 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ flume = "0.11.1"
deser-hjson = "2.2.4"
env_logger = "0.11.2"
file-id = { version = "0.2.3", path = "file-id" }
fsevent-sys = "4.0.0"
objc2-core-foundation = { version = "0.3.2", default-features = false }
objc2-core-services = { version = "0.3.2", default-features = false }
futures = "0.3.30"
inotify = { version = "0.11.0", default-features = false }
insta = "1.34.0"
Expand Down
28 changes: 24 additions & 4 deletions notify/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ categories = ["filesystem"]
authors = [
"Félix Saparelli <[email protected]>",
"Daniel Faust <[email protected]>",
"Aron Heinecke <[email protected]>"
"Aron Heinecke <[email protected]>",
]
rust-version.workspace = true
edition.workspace = true
Expand All @@ -21,7 +21,7 @@ repository.workspace = true
default = ["macos_fsevent"]
serde = ["notify-types/serde"]
macos_kqueue = ["kqueue", "mio"]
macos_fsevent = ["fsevent-sys"]
macos_fsevent = ["objc2-core-foundation", "objc2-core-services"]
serialization-compat-6 = ["notify-types/serialization-compat-6"]

[dependencies]
Expand All @@ -38,12 +38,32 @@ mio.workspace = true

[target.'cfg(target_os="macos")'.dependencies]
bitflags.workspace = true
fsevent-sys = { workspace = true, optional = true }
objc2-core-foundation = { workspace = true, optional = true, features = [
"std",
"CFDate",
"CFString",
"CFArray",
"CFRunLoop",
"CFError",
"CFURL",
] }
objc2-core-services = { workspace = true, optional = true, features = [
"std",
"libc",
"FSEvents",
] }
kqueue = { workspace = true, optional = true }
mio = { workspace = true, optional = true }

[target.'cfg(windows)'.dependencies]
windows-sys = { workspace = true, features = ["Win32_System_Threading", "Win32_Foundation", "Win32_Storage_FileSystem", "Win32_Security", "Win32_System_WindowsProgramming", "Win32_System_IO"] }
windows-sys = { workspace = true, features = [
"Win32_System_Threading",
"Win32_Foundation",
"Win32_Storage_FileSystem",
"Win32_Security",
"Win32_System_WindowsProgramming",
"Win32_System_IO",
] }

[target.'cfg(any(target_os="freebsd", target_os="openbsd", target_os = "netbsd", target_os = "dragonflybsd", target_os = "ios"))'.dependencies]
kqueue.workspace = true
Expand Down
Loading