Notify
Cross-platform filesystem notification library for Rust.
Install
[]
= "^2.5.0"
Usage
extern crate notify;
use ;
use channel;
Platforms
- Linux / Android: inotify
- OS X: FSEvent
- Windows: ReadDirectoryChangesW
- All platforms: polling
Todo
- BSD / OS X / iOS: kqueue
- Solaris 11: FEN
Pull requests and bug reports happily accepted!
Origins
Inspired by Go's fsnotify, born out of need for cargo watch, and general frustration at the non-existence of C/Rust cross-platform notify libraries.
Written by FĂ©lix Saparelli and awesome contributors, and released in the Public Domain using the Creative Commons Zero Declaration.