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