fwatch
fwatch is a file watching library written in Rust.
- API Documentation
- Cargo package: fwatch
Installation
Add this to your `Cargo.toml':
[]
= "0.1.1"
Basic Usage
The following example sets up a Watcher
to observe any changes (called Transition
's in fwatch) to foo.txt
and bar.txt
. The currently available transitions are Created
, Modified
, Deleted
, and None
.
Instead of BasicTarget
, any struct implementing the Watchable
trait can be used below.
use ;
License
This project is licensed under the Apache License, Version 2.0.