Add thiserror and improve console output formatting

- Added `thiserror` dependency in `Cargo.toml` and `Cargo.lock` for enhanced error handling.
- Improved execution time tracking and output formatting in `main.rs`.
- Refactored console output in `scan.rs` for better readability with grouped warnings.
- Simplified error handling in `scan_filesystem`.
This commit is contained in:
elipeter 2025-06-23 18:25:10 +02:00
parent 952e83453a
commit 487ccbba8b
5 changed files with 46 additions and 26 deletions

View file

@ -72,13 +72,13 @@ pub fn spawn_senders(
.threads(worker_thrs)
.overrides(overrides)
.build_parallel();
walker.run(move || {
let mut batcher = Batcher {
tx: tx.clone(),
batch: Vec::with_capacity(BATCH_SIZE),
};
Box::new(move |entry| {
tracing::debug!("walking: {:?}", entry);
let e = match entry {