[package]
edition = "2021"
rust-version = "1.85"
name = "notify"
version = "8.2.1"
authors = [
"Félix Saparelli <me@passcod.name>",
"Daniel Faust <hessijames@gmail.com>",
"Aron Heinecke <Ox0p54r36@t-online.de>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform filesystem notification library"
homepage = "https://github.com/notify-rs/notify"
documentation = "https://docs.rs/notify"
readme = "README.md"
keywords = [
"events",
"filesystem",
"notify",
"watch",
]
categories = ["filesystem"]
license = "CC0-1.0"
repository = "https://github.com/notify-rs/notify.git"
[features]
default = ["macos_fsevent"]
fsevent-sys = [
"objc2-core-foundation",
"objc2-core-services",
]
macos_fsevent = ["fsevent-sys"]
macos_kqueue = [
"kqueue",
"mio",
]
serde = ["notify-types/serde"]
serialization-compat-6 = ["notify-types/serialization-compat-6"]
[lib]
name = "notify"
path = "src/lib.rs"
[dependencies.crossbeam-channel]
version = "0.5.0"
optional = true
[dependencies.flume]
version = "0.11.1"
optional = true
[dependencies.libc]
version = "0.2.4"
[dependencies.log]
version = "0.4.17"
[dependencies.notify-types]
version = "2.0.0"
[dependencies.walkdir]
version = "2.4.0"
[dev-dependencies.insta]
version = "1.34.0"
[dev-dependencies.nix]
version = "0.29.0"
[dev-dependencies.pretty_assertions]
version = "1.3.0"
[dev-dependencies.serde_json]
version = "1.0.39"
[dev-dependencies.tempfile]
version = "3.10.0"
[target.'cfg(any(target_os="freebsd", target_os="openbsd", target_os = "netbsd", target_os = "dragonflybsd", target_os = "ios"))'.dependencies.kqueue]
version = "1.1.1"
[target.'cfg(any(target_os="freebsd", target_os="openbsd", target_os = "netbsd", target_os = "dragonflybsd", target_os = "ios"))'.dependencies.mio]
version = "1.0"
features = ["os-ext"]
[target.'cfg(any(target_os="linux", target_os="android"))'.dependencies.inotify]
version = "0.11.0"
default-features = false
[target.'cfg(any(target_os="linux", target_os="android"))'.dependencies.mio]
version = "1.0"
features = ["os-ext"]
[target.'cfg(target_os = "windows")'.dev-dependencies.trash]
version = "5.2.2"
[target.'cfg(target_os="macos")'.dependencies.bitflags]
version = "2.7.0"
[target.'cfg(target_os="macos")'.dependencies.kqueue]
version = "1.1.1"
optional = true
[target.'cfg(target_os="macos")'.dependencies.mio]
version = "1.0"
features = ["os-ext"]
optional = true
[target.'cfg(target_os="macos")'.dependencies.objc2-core-foundation]
version = "0.3.2"
features = [
"std",
"CFDate",
"CFString",
"CFArray",
"CFRunLoop",
"CFError",
"CFURL",
]
optional = true
default-features = false
[target.'cfg(target_os="macos")'.dependencies.objc2-core-services]
version = "0.3.2"
features = [
"std",
"libc",
"FSEvents",
]
optional = true
default-features = false
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
"Win32_System_Threading",
"Win32_Foundation",
"Win32_Storage_FileSystem",
"Win32_Security",
"Win32_System_WindowsProgramming",
"Win32_System_IO",
]