forked from notify-rs/notify
/
Cargo.toml
68 lines (57 loc) 路 1.79 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[package]
name = "notify"
version = "5.0.0-pre.13"
description = "Cross-platform filesystem notification library"
documentation = "https://docs.rs/notify"
homepage = "https://github.com/notify-rs/notify"
repository = "https://github.com/notify-rs/notify.git"
readme = "README.md"
license = "CC0-1.0 OR Artistic-2.0"
keywords = ["events", "filesystem", "notify", "watch"]
categories = ["filesystem"]
authors = [
"F茅lix Saparelli <me@passcod.name>",
"Daniel Faust <hessijames@gmail.com>"
]
edition = "2018"
exclude = [
"/clippy.toml",
".github/*"
]
[dependencies]
bitflags = "1.0.4"
crossbeam-channel = "0.5.0"
filetime = "0.2.6"
libc = "0.2.4"
serde = { version = "1.0.89", features = ["derive"], optional = true }
walkdir = "2.0.1"
[target.'cfg(target_os="linux")'.dependencies]
inotify = { version = "0.9", default-features = false }
mio = { version = "0.7.7", features = ["os-ext"] }
[target.'cfg(target_os="macos")'.dependencies]
fsevent-sys = { version = "4", optional = true }
kqueue = { version = "1.0", optional = true }
mio = { version = "0.7.7", features = ["os-ext"], optional = true }
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.8", features = ["fileapi", "handleapi", "ioapiset", "minwinbase", "synchapi", "winbase", "winnt"] }
[target.'cfg(any(target_os="freebsd", target_os="openbsd", target_os = "netbsd", target_os = "dragonflybsd"))'.dependencies]
kqueue = "^1.0.4" # fix for #344
mio = { version = "0.7.7", features = ["os-ext"] }
[dev-dependencies]
futures = "0.3"
serde_json = "1.0.39"
tempfile = "3.2.0"
[features]
default = ["macos_fsevent"]
timing_tests = []
manual_tests = []
macos_kqueue = ["kqueue", "mio"]
macos_fsevent = ["fsevent-sys"]
[patch.crates-io]
notify = { path = "." }
[workspace]
members = [
".",
"examples/hot_reload_tide",
"examples/watcher_kind"
]