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