From fd27d8ddc3a27fd89a3a132343c6a1ad8da3671c Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sat, 9 Dec 2023 10:49:47 +0200 Subject: feat(tvix/build): init This adds the tvix-build crate, currently only containing a `tvix_build::proto` module, exposing the data structures defined in tvix/build/protos. Change-Id: I75f5d9196969ed0877b1fe640cacfecba0fb2e03 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10235 Autosubmit: flokli Reviewed-by: raitobezarius Tested-by: BuildkiteCI --- tvix/build/Cargo.toml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tvix/build/Cargo.toml (limited to 'tvix/build/Cargo.toml') diff --git a/tvix/build/Cargo.toml b/tvix/build/Cargo.toml new file mode 100644 index 000000000000..6f9d8a34f276 --- /dev/null +++ b/tvix/build/Cargo.toml @@ -0,0 +1,21 @@ +[package] +name = "tvix-build" +version = "0.1.0" +edition = "2021" + +[dependencies] +prost = "0.12.1" +tonic = "0.10.2" +tvix-castore = { path = "../castore" } + +[dependencies.tonic-reflection] +optional = true +version = "0.10.2" + +[build-dependencies] +prost-build = "0.12.1" +tonic-build = "0.10.2" + +[features] +default = [] +tonic-reflection = ["dep:tonic-reflection"] -- cgit 1.4.1