this post was submitted on 21 Apr 2024
48 points (100.0% liked)

Rust

111 readers
2 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
48
submitted 7 months ago* (last edited 7 months ago) by larix@programming.dev to c/rust@programming.dev
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] maiskanzler@feddit.de 9 points 7 months ago (1 children)
[–] larix@programming.dev 4 points 7 months ago