/tokio-inotify

A Stream yielding inotify events, to be run on the tokio framework.

Primary LanguageRustMIT LicenseMIT

tokio-inotify

NOTE: The inotify crate now offers a Stream-based API. It is recommended to use it directly.

crates.io

Documentation

The tokio_inotify crate enables the use of inotify file descriptors in the tokio framework. It builds on the inotify crate by wrapping the INotify type into a new type called AsyncINotify, and implementing futures::stream::Stream.

This means that you can consume inotify::Events from the AsyncINotify object and act on them.