DEV Community 👩‍💻👨‍💻

Bill Mitchell
Bill Mitchell

Posted on

Learning Rust by creating a terminal clock - Part 1

In the last (and first) post of this series I introduced the Rust project I created to help me learn Rust. The project is a terminal clock.

At that time I had the minute and hour progress bar complete.

Latest update today is I've added the day and month progress bar.

Alt Text

I'm basing this project off of https://github.com/rothman857/chronometer which also lists a year and century progress bar which I may also add but I'm not 100% sure on that yet.

I've created a few issues. One which I'm particularly interested in is creating a CI pipeline. Will have to investigate what types of tools are available for Rust (linters, code quality analysis etc...) so if anyone has any ideas please leave a comment.

The code is also in desperate need of a cleanup. I'm in "get it to work no matter how ugly" mode right now so it may be time to take a step back and do some refactoring which should make continuing on with the project more efficient.

Any and all feedback is appreciated. Feel free to log an issue or send a pull request in the repo: https://github.com/bmitch/relogio

Top comments (0)

🌚 Browsing with dark mode makes you a better developer by a factor of exactly 40.

It's a scientific fact.