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 <flokli@flokli.de>
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
This commit is contained in:
Florian Klink 2023-12-09 10:49:47 +02:00 committed by clbot
parent 3c0a9a949a
commit fd27d8ddc3
14 changed files with 330 additions and 0 deletions

21
tvix/build/Cargo.toml Normal file
View file

@ -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"]