feat(tvix/build): add BuildRequest validation

Change-Id: I8182e4c4a7e5694c1e6f1f56ce092751c22adf4c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10538
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
This commit is contained in:
Florian Klink 2024-01-05 15:53:26 +02:00 committed by flokli
parent c9c95f4ef3
commit 986e9b73c3
5 changed files with 458 additions and 168 deletions

View file

@ -5,7 +5,9 @@ edition = "2021"
[dependencies]
bytes = "1.4.0"
itertools = "0.12.0"
prost = "0.12.1"
thiserror = "1.0.56"
tonic = "0.10.2"
tvix-castore = { path = "../castore" }
@ -20,3 +22,6 @@ tonic-build = "0.10.2"
[features]
default = []
tonic-reflection = ["dep:tonic-reflection"]
[dev-dependencies]
test-case = "3.3.1"