feat(core): add disk index cache infrastructure
Add xxhash-rust and bincode workspace dependencies for fast hashing and serialization. Implement cache_util for cache directory/path resolution with versioning, and IndexCache for saving/loading line indices to disk with file-hash validation. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
members = ["crates/core", "crates/gui", "crates/tui"]
|
||||
members = ["crates/core", "crates/gui", "crates/tui", "crates/bench"]
|
||||
default-members = ["crates/core"]
|
||||
|
||||
[workspace.dependencies]
|
||||
@@ -25,3 +25,5 @@ clap = { version = "4", features = ["derive"] }
|
||||
log-viewer-core = { path = "crates/core" }
|
||||
textwrap = "0.16"
|
||||
tempfile = "3"
|
||||
xxhash-rust = { version = "0.8", features = ["xxh3"] }
|
||||
bincode = "1"
|
||||
|
||||
Reference in New Issue
Block a user