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.