This is a Rust replacement for debsums (on Debian/Ubuntu/...) and paccheck (on Arch Linux and derivatives). It is much faster than those thanks to using all your CPU cores in parallel. What it does is check files installed by your package manager for changes and reports those on stdout.
This is a project I have been working on over the past few weeks. There are more details (including benchmarks) in the readme.
I normally don't advertise my open source projects (having users other than yourself is both a blessing and a curse), but since there was recent discussion on how to grow this lemmy group I'd thought I'd post it. Maybe it is useful to some of you.
I also spent quite some time on optimising this (including a lot of benchmarking, profiling and trying alternative solutions). In the end I'm happy with the performance, though I am considering io-uring for disk IO.
The main goal of this project is not actually the program produced so far, but to continue building this into a library (currently very little is exposed as pub, because the API will change). I have a larger project in the planning phase that needs this (in library form) as part of it.
Another tip, to save some plastic on prototypes: if you have a paper printer you can make a technical drawing in your CAD program, set scale to 1:1, print it out and compare (make sure to measure to check that the printed size is actually 1:1). If need be use scissors to cut out the profile.
This won't take plastic shrinking into account, but in my experience it can remove the first few iterations at least. And it is way faster, and paper is less bad for the environment.