| 1 | [package] |
| 2 | |
| 3 | name = "inotify" |
| 4 | version = "0.11.0" |
| 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 | rust-version = "1.70" |
| 13 | |
| 14 | description = "Idiomatic wrapper for inotify" |
| 15 | documentation = "https://docs.rs/inotify" |
| 16 | repository = "https://github.com/hannobraun/inotify" |
| 17 | license = "ISC" |
| 18 | readme = "README.md" |
| 19 | |
| 20 | keywords = ["inotify" , "linux" ] |
| 21 | categories = ["api-bindings" , "filesystem" ] |
| 22 | exclude = ["/.travis.yml" , "/inotify-rs.sublime-project" ] |
| 23 | |
| 24 | [badges] |
| 25 | maintenance = { status = "actively-developed" } |
| 26 | travis-ci = { repository = "inotify-rs/inotify" } |
| 27 | |
| 28 | |
| 29 | [features] |
| 30 | default = ["stream" ] |
| 31 | stream = ["futures-core" , "tokio" ] |
| 32 | |
| 33 | |
| 34 | [dependencies] |
| 35 | bitflags = "2" |
| 36 | futures-core = { version = "0.3.1" , optional = true } |
| 37 | inotify-sys = "0.1.3" |
| 38 | libc = "0.2" |
| 39 | tokio = { version = "1.0.1" , optional = true, features = ["net" ] } |
| 40 | |
| 41 | [dev-dependencies] |
| 42 | maplit = "1.0" |
| 43 | rand = "0.8" |
| 44 | tempfile = "3.1.0" |
| 45 | futures-util = "0.3.1" |
| 46 | tokio = { version = "1.0.1" , features = ["macros" , "rt-multi-thread" ] } |
| 47 | |
| 48 | [[example]] |
| 49 | name = "stream" |
| 50 | required-features = ["stream" ] |
| 51 | |
| 52 | [[example]] |
| 53 | name = "watch" |
| 54 | |