1[package]
2name = "notify"
3version = "8.0.0"
4description = "Cross-platform filesystem notification library"
5documentation = "https://docs.rs/notify"
6readme = "../README.md"
7license = "CC0-1.0"
8keywords = ["events", "filesystem", "notify", "watch"]
9categories = ["filesystem"]
10authors = [
11 "Félix Saparelli <me@passcod.name>",
12 "Daniel Faust <hessijames@gmail.com>",
13 "Aron Heinecke <Ox0p54r36@t-online.de>"
14]
15rust-version.workspace = true
16edition.workspace = true
17homepage.workspace = true
18repository.workspace = true
19
20[features]
21default = ["macos_fsevent"]
22serde = ["notify-types/serde"]
23macos_kqueue = ["kqueue", "mio"]
24macos_fsevent = ["fsevent-sys"]
25serialization-compat-6 = ["notify-types/serialization-compat-6"]
26
27[dependencies]
28notify-types.workspace = true
29crossbeam-channel = { workspace = true, optional = true }
30filetime.workspace = true
31libc.workspace = true
32log.workspace = true
33walkdir.workspace = true
34
35[target.'cfg(any(target_os="linux", target_os="android"))'.dependencies]
36inotify = { workspace = true, default-features = false }
37mio.workspace = true
38
39[target.'cfg(target_os="macos")'.dependencies]
40bitflags.workspace = true
41fsevent-sys = { workspace = true, optional = true }
42kqueue = { workspace = true, optional = true }
43mio = { workspace = true, optional = true }
44
45[target.'cfg(windows)'.dependencies]
46windows-sys = { workspace = true, features = ["Win32_System_Threading", "Win32_Foundation", "Win32_Storage_FileSystem", "Win32_Security", "Win32_System_WindowsProgramming", "Win32_System_IO"] }
47
48[target.'cfg(any(target_os="freebsd", target_os="openbsd", target_os = "netbsd", target_os = "dragonflybsd", target_os = "ios"))'.dependencies]
49kqueue.workspace = true
50mio.workspace = true
51
52[dev-dependencies]
53serde_json.workspace = true
54tempfile.workspace = true
55nix.workspace = true
56insta.workspace = true
57