refactor(tvix/store): use GRPC Wrappers and new services

This swaps out the implementation used in the main entrypoint.
We now use the non-gRPC aware Sled*Service, and wrap it with
GRPC*ServiceWrapper to spin up the gRPC server.

Change-Id: I5a1236c0612eee85e49891062040127c8bd95058
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8106
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
This commit is contained in:
Florian Klink 2023-02-15 15:00:27 +02:00 committed by flokli
parent cd22a8aa6d
commit 6b91efa5cf
2 changed files with 30 additions and 10 deletions

View file

@ -6,6 +6,7 @@ mod errors;
pub mod blobservice;
pub mod chunkservice;
pub mod directoryservice;
pub mod nar;
pub mod pathinfoservice;
pub mod proto;
@ -15,7 +16,5 @@ pub mod sled_directory_service;
pub mod sled_path_info_service;
pub use errors::Error;
mod nar;
#[cfg(test)]
mod tests;