Reading updates from a file


#1

Hi, I’m learning Rust and working on writing some small projects. One of the things I’m trying to do is read updates from a file, like “tail -f”. I can’t seem to figure out how to go about doing this.

Anyone able to point me in the right direction or have some code I can look at? Thanks!


#2

https://crates.io/crates/logwatcher


#3

Ah, great! That is just what I’m looking for. All my searching and I couldn’t find it. I’ll take a look at the code and get an understanding on how to do something like this!

Thanks!