825d498908
Introduce a new common crate that contains tracing boilerplate which then can be used in the cli, tvix-store and tvix-build crates. It has otlp as an optional feature, which is currently only used by tvix-store. Change-Id: I41468ac4d9c65174515d721513b96fea463d6ed2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11758 Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de> Autosubmit: Simon Hauser <simon.hauser@helsinki-systems.de>
36 lines
787 B
TOML
36 lines
787 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" }
|
|
tvix-tracing = { path = "../tracing" }
|
|
tracing = "0.1.40"
|
|
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
|