feat(tvix/build): add CLI entrypoint

This starts a BuildService as a separate process, currently defaulting
to the DummyBuildService.

Change-Id: Ic206f00831641d3ffebaa44883b7dc053700b9ca
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10631
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
This commit is contained in:
Florian Klink 2024-01-15 19:22:01 +02:00 committed by clbot
parent 170e0cdfad
commit f0a750bcb7
4 changed files with 160 additions and 0 deletions

View file

@ -5,13 +5,16 @@ edition = "2021"
[dependencies]
bytes = "1.4.0"
clap = { version = "4.0", features = ["derive", "env"] }
itertools = "0.12.0"
prost = "0.12.1"
thiserror = "1.0.56"
tokio = { version = "1.32.0" }
tokio-listener = { version = "0.2.2", features = [ "tonic010" ] }
tonic = { version = "0.10.2", features = ["tls", "tls-roots"] }
tvix-castore = { path = "../castore" }
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.16", features = ["json"] }
url = "2.4.0"
[dependencies.tonic-reflection]