feat(tvix/store/nar): add GRPCNARCalculationService

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
This commit is contained in:
Florian Klink 2023-05-22 19:40:34 +03:00 committed by clbot
parent 01e8fa6529
commit 457fd4c325
2 changed files with 71 additions and 0 deletions

View file

@ -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;