Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Notify
NOTICE: I need a usable-in-stable replacement for stat.modified()
i.e.
a cross-platform way of getting the mtime of a file. Without that, I cannot
make this library work. I do not currently have the time to do it myself, so
please help. Thank you.
Cross-platform filesystem notification library for Rust.
Install
[]
= "1.1"
Notify currently doesn't have working builds for stable version numbers, as
the notice above explains, some things are missing. However, 2.0.0-preN
releases will be published to crates.io for
the adventurous and those in need.
Usage
extern crate notify;
use ;
use channel;
Platforms
- Linux / Android: inotify
All platforms: polling(not working, see notice)- Coming soon: OS X using FSEvent
Todo
- Windows: ReadDirectoryChangesW
- OS X: FSEvents
- BSD / OS X / iOS: kqueue
- Solaris 11: FEN
Known Bugs
polling backend only handles(poll implementation scrapped for the moment)op::WRITE
s- see
TODO
andFIXME
comments in the code for more
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 from scratch by FĂ©lix Saparelli, and released in the Public Domain using the Creative Commons Zero Declaration.