about summary refs log tree commit diff
path: root/tvix/store/src/lib.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-02-15T13·00+0200
committerflokli <flokli@flokli.de>2023-03-10T10·58+0000
commit6b91efa5cf6d09e65dc06dfc56376b678eafa033 (patch)
tree919052b6117c24e21196f2d401bc09c10179e65e /tvix/store/src/lib.rs
parentcd22a8aa6d235465715382f2ab98e63cb54964b1 (diff)
refactor(tvix/store): use GRPC Wrappers and new services r/5922
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
Diffstat (limited to 'tvix/store/src/lib.rs')
-rw-r--r--tvix/store/src/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/tvix/store/src/lib.rs b/tvix/store/src/lib.rs
index c275be5ff0ed..f23b0b9b8833 100644
--- a/tvix/store/src/lib.rs
+++ b/tvix/store/src/lib.rs
@@ -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;