about summary refs log tree commit diff
path: root/tvix/store/src/nar/mod.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-05-22T16·40+0300
committerclbot <clbot@tvl.fyi>2023-05-24T09·01+0000
commit457fd4c325e85d07f3034d82f96f897bc63b8462 (patch)
treeb9ff64b5db67a944f90f2dd4d4723dcdce96fe3c /tvix/store/src/nar/mod.rs
parent01e8fa65294b5ff8438e1abc0e70e9fe7e2da05c (diff)
feat(tvix/store/nar): add GRPCNARCalculationService r/6184
This asks a remote tvix-store for the nar size and digest of a given
root node.

Change-Id: If9f916d9bfc5f8dc3166e2c6c1671c0f0124d1c1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8611
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/store/src/nar/mod.rs')
-rw-r--r--tvix/store/src/nar/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tvix/store/src/nar/mod.rs b/tvix/store/src/nar/mod.rs
index 2bfb541733be..a29cc5451bae 100644
--- a/tvix/store/src/nar/mod.rs
+++ b/tvix/store/src/nar/mod.rs
@@ -2,9 +2,11 @@ use crate::{proto, B3Digest};
 use data_encoding::BASE64;
 use thiserror::Error;
 
+mod grpc_nar_calculation_service;
 mod non_caching_calculation_service;
 mod renderer;
 
+pub use grpc_nar_calculation_service::GRPCNARCalculationService;
 pub use non_caching_calculation_service::NonCachingNARCalculationService;
 pub use renderer::NARRenderer;