feat: add obisys crate for standardized CLI progress reporting

This commit introduces the `obisys` crate, which wraps `indicatif` to provide reusable `spinner` and `progress_bar` utilities with consistent styling and tick intervals. It refactors progress reporting across `obikindex`, `obikpartitionner`, and `obikmer` to use these shared functions, eliminating inline UI configuration and ensuring uniform terminal feedback.
This commit is contained in:
Eric Coissac
2026-06-03 15:33:15 +02:00
parent 4677d6f177
commit 02cb30c0ef
10 changed files with 59 additions and 89 deletions
+2
View File
@@ -1561,6 +1561,7 @@ dependencies = [
"obiread",
"obiskbuilder",
"obiskio",
"obisys",
"ptr_hash",
"rayon",
"remove_dir_all",
@@ -1659,6 +1660,7 @@ dependencies = [
name = "obisys"
version = "0.1.0"
dependencies = [
"indicatif",
"libc",
"sysinfo",
]