feat(tvix/store): implement PathInfoService with sled

This uses [sled](https://github.com/spacejam/sled) to store PathInfo
objects.

Change-Id: I12e8032e5562af8f884efa23a78049fd1108fdbc
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7726
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
Florian Klink 2022-12-29 21:39:28 +01:00 committed by flokli
parent cfa42fd19a
commit 43f6aec384
9 changed files with 652 additions and 40 deletions

View file

@ -13,6 +13,7 @@ data-encoding = "2.3.3"
lazy_static = "1.4.0"
clap = { version = "4.0", features = ["derive", "env"] }
prost = "0.11.2"
sled = { version = "0.34.7", features = ["compression"] }
thiserror = "1.0.38"
tokio = { version = "1.23.0", features = ["rt-multi-thread"] }
tokio-stream = "0.1.11"
@ -30,6 +31,7 @@ tonic-build = "0.8.2"
[dev-dependencies]
test-case = "2.2.2"
tempfile = "3.3.0"
[features]
default = [