Little Rust program to catalogue documents on my machine

Hello,
I decided to write a small program that I desperately needed to search through files in a target folder, pick out the PDF documents and store them in a database. The program allows me to annotate the records (including a title and a description of the document).

I wrote it in Rust where the data is stored in an sqlite database. I was hoping that it could be something that could help new-comers to use and adapt and modify.

I would be grateful if you could take a look at what I did and offer suggestions for better ways of doing things. Maybe I am not doing things the Rust way. It would be great if it can be helpful for new people to Rust.

The code is in: GitHub - adilhasan/catalogue

I appreciate your help.
adil

2 Likes