This is my first project in rust, called: since
. A small tool to filter logfiles or any other files with a timestamp in it, by a given timestamp.
For example:
since 1h /var/log/messages
prints all lines from the last hour.
since 00:00 /var/log/messages
prints all lines since 00:00.
It would be nice if you could take a look at the code. What would you change, what should I change?
I’m not a professional programmer, this is just a hobby, but I want to learn as much as possible.
@Ephera it will be very cheap because you will create only a container with a reference &str to your string. To view data is the preferred way.