ca542440a5
If building tvix-build with the tonic-reflection feature, it needs to import `tvix_castore::proto::FILE_DESCRIPTOR_SET`, which is only available if tvix-castore is built with the `tonic-reflection` feature. Change-Id: I355b4c5b4c1333d5cc56335de47ad5d2f1db6337 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11716 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: flokli <flokli@flokli.de>
36 lines
778 B
TOML
36 lines
778 B
TOML
[package]
|
|
name = "tvix-build"
|
|
version = "0.1.0"
|
|
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.4.1", features = [ "tonic011" ] }
|
|
tonic = { version = "0.11.0", features = ["tls", "tls-roots"] }
|
|
tvix-castore = { path = "../castore" }
|
|
tracing = "0.1.37"
|
|
tracing-subscriber = "0.3.16"
|
|
url = "2.4.0"
|
|
|
|
[dependencies.tonic-reflection]
|
|
optional = true
|
|
version = "0.11.0"
|
|
|
|
[build-dependencies]
|
|
prost-build = "0.12.1"
|
|
tonic-build = "0.11.0"
|
|
|
|
[features]
|
|
default = []
|
|
tonic-reflection = ["dep:tonic-reflection", "tvix-castore/tonic-reflection"]
|
|
|
|
[dev-dependencies]
|
|
rstest = "0.19.0"
|
|
|
|
[lints]
|
|
workspace = true
|