[package]
name = "rolldown-notify"
version = "10.3.0"
description = "Cross-platform filesystem notification library"
documentation = "https://docs.rs/notify"
readme = "../README.md"
license = "CC0-1.0"
keywords = ["events", "filesystem", "notify", "watch"]
categories = ["filesystem"]
authors = [
"Félix Saparelli <me@passcod.name>",
"Daniel Faust <hessijames@gmail.com>",
"Aron Heinecke <Ox0p54r36@t-online.de>"
]
rust-version.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true
[lib]
name = "notify"
[features]
default = ["macos_fsevent"]
serde = ["rolldown-notify-types/serde"]
macos_kqueue = ["dep:kqueue", "dep:mio"]
macos_fsevent = ["dep:objc2-core-foundation", "dep:objc2-core-services"]
serialization-compat-6 = ["rolldown-notify-types/serialization-compat-6"]
[lints]
workspace = true
[dependencies]
rolldown-notify-types.workspace = true
crossbeam-channel = { workspace = true, optional = true }
flume = { workspace = true, optional = true }
libc.workspace = true
tracing.workspace = true
walkdir.workspace = true
[target.'cfg(any(target_os="linux", target_os="android"))'.dependencies]
inotify = { workspace = true, default-features = false }
mio.workspace = true
[target.'cfg(target_os="macos")'.dependencies]
bitflags.workspace = 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"] }
[target.'cfg(any(target_os="freebsd", target_os="openbsd", target_os = "netbsd", target_os = "dragonfly", target_os = "ios"))'.dependencies]
kqueue.workspace = true
mio.workspace = true
[dev-dependencies]
tempfile.workspace = true
pretty_assertions.workspace = true
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies]
criterion.workspace = true
[target.'cfg(target_os = "windows")'.dev-dependencies]
trash.workspace = true
[[bench]]
name = "paths_mut_bench"
harness = false