1 | [package] |
2 | |
3 | name = "inotify" |
4 | version = "0.9.6" |
5 | authors = [ |
6 | "Hanno Braun <mail@hannobraun.de>" , |
7 | "Félix Saparelli <me@passcod.name>" , |
8 | "Cristian Kubis <cristian.kubis@tsunix.de>" , |
9 | "Frank Denis <github@pureftpd.org>" |
10 | ] |
11 | edition = "2018" |
12 | |
13 | description = "Idiomatic wrapper for inotify" |
14 | documentation = "https://docs.rs/inotify" |
15 | repository = "https://github.com/hannobraun/inotify" |
16 | license = "ISC" |
17 | readme = "README.md" |
18 | |
19 | keywords = ["inotify" , "linux" ] |
20 | categories = ["api-bindings" , "filesystem" ] |
21 | exclude = ["/.travis.yml" , "/inotify-rs.sublime-project" ] |
22 | |
23 | [badges] |
24 | maintenance = { status = "actively-developed" } |
25 | travis-ci = { repository = "inotify-rs/inotify" } |
26 | |
27 | |
28 | [features] |
29 | default = ["stream" ] |
30 | stream = ["futures-core" , "tokio" ] |
31 | |
32 | |
33 | [dependencies] |
34 | bitflags = "1" |
35 | futures-core = { version = "0.3.1" , optional = true } |
36 | inotify-sys = "0.1.3" |
37 | libc = "0.2" |
38 | tokio = { version = "1.0.1" , optional = true, features = ["net" ] } |
39 | |
40 | [dev-dependencies] |
41 | tempfile = "3.1.0" |
42 | futures-util = "0.3.1" |
43 | tokio = { version = "1.0.1" , features = ["macros" , "rt-multi-thread" ] } |
44 | |
45 | [[example]] |
46 | name = "stream" |
47 | required-features = ["stream" ] |
48 | |
49 | [[example]] |
50 | name = "watch" |
51 | |