#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

#1758 in Filesystem

Download history 4/week @ 2023-06-12 26/week @ 2023-06-19 10/week @ 2023-06-26 16/week @ 2023-07-03 7/week @ 2023-07-10 9/week @ 2023-07-17 11/week @ 2023-07-24 4/week @ 2023-07-31 17/week @ 2023-08-07 25/week @ 2023-08-14 4/week @ 2023-08-21 15/week @ 2023-08-28 25/week @ 2023-09-04 10/week @ 2023-09-11 18/week @ 2023-09-18 8/week @ 2023-09-25

61 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
~56K SLoC