refactor: Shift KmerIndex ownership to Arc for thread-safe sharing

Replaces lifetime-bound references with runtime reference counting across multiple crates. This enables safe concurrent access across parallel workers without explicit cloning or manual lifetime management. Introduces the `query` and `utils` CLI commands in obikmer2, along with supporting modules for batch processing, sparse indexing, sliding-window findere logic, and output formatting. Updates dependency manifests and aligns test suites with the new ownership model.
This commit is contained in:
Eric Coissac
2026-08-28 19:32:45 +02:00
parent 10a0909687
commit bd7729b095
31 changed files with 1689 additions and 178 deletions
+12
View File
@@ -1673,12 +1673,16 @@ dependencies = [
"obikalgorithm",
"obikdump",
"obikfilter",
"obikidxcache",
"obikindex",
"obikindexer",
"obikmerge",
"obikquery",
"obikrebuild",
"obikrope",
"obikselect",
"obikseq",
"obikstats",
"obipipeline",
"obiread",
"obiskbuilder",
@@ -1732,7 +1736,15 @@ dependencies = [
name = "obikquery"
version = "0.1.0"
dependencies = [
"obikidxcache",
"obikindex",
"obikrope",
"obikseq",
"obiread",
"obiskbuilder",
"serde_json",
"tempfile",
"tracing",
]
[[package]]