[package] name = "inotify" version = "0.11.4" edition = "2018" rust-version = "1.70" description = "Idiomatic wrapper for inotify" documentation = "https://docs.rs/inotify" repository = "https://github.com/hannobraun/inotify-rs" license = "ISC" readme = "README.md" keywords = ["inotify", "linux"] categories = ["api-bindings", "filesystem"] exclude = ["/inotify-rs.sublime-project"] [features] default = ["stream"] stream = ["futures-util", "tokio"] [dependencies] bitflags = "2" futures-util = { version = "0.3.30", optional = true } inotify-sys = "0.1.8" libc = "0.2" tokio = { version = "1.40.0", optional = true, features = ["net"] } [dev-dependencies] maplit = "1.0" rand = "0.8" tempfile = "3.12.0" futures-util = "0.3.30" tokio = { version = "1.40.0", features = ["macros", "rt-multi-thread", "time"] } [[example]] name = "stream" required-features = ["stream"] [[example]] name = "watch"