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