From f0a750bcb7e3145974f99383a5db905b9e0d72a3 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Mon, 15 Jan 2024 19:22:01 +0200 Subject: 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 Reviewed-by: raitobezarius Tested-by: BuildkiteCI --- tvix/build/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tvix/build/Cargo.toml') diff --git a/tvix/build/Cargo.toml b/tvix/build/Cargo.toml index 08102a66be50..289dda4d8c0d 100644 --- a/tvix/build/Cargo.toml +++ b/tvix/build/Cargo.toml @@ -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] -- cgit 1.4.1