#inotify #tokio #async

tokio-inotify

Stream-based access to filesystem events

6 releases

Uses old Rust 2015

0.4.1 Apr 9, 2018
0.4.0 Apr 8, 2018
0.3.0 Dec 11, 2016
0.2.2 Dec 11, 2016
0.2.1 Sep 15, 2016

#1499 in Filesystem

27 downloads per month

MIT license

7KB
104 lines

tokio-inotify

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.

Dependencies

~4MB
~59K SLoC