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: https://github.com/adilhasan/catalogue

I appreciate your help.
adil

2 Likes

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.