This is a library crate that tails a log file, following rotates, and supports registering multiple callbacks.
See main.rs for an example.
main.rs
This is a re-engineered version of a similar project: https://github.com/aravindavk/logwatcher