2fa5e71d5e
tonic-reflection 0.12.x moved from the v1alpha to v1 of the reflection protocol. However, most clients, like Postman, Kreya and evans don't support that one yet. Bump tonic-reflection to 0.12.2, which re-introduces v1alpha support alongside the v1 version of it, registering both services. This fixes the example documented in tvix/store/README.md, it was previously failing as evans couldn't find the v1alpha reflection service. See https://github.com/hyperium/tonic/pull/1888 for details. Change-Id: I55438877317f82dc39face13afeb9594cda07a4e Reviewed-on: https://cl.tvl.fyi/c/depot/+/12353 Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
37 lines
807 B
TOML
37 lines
807 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.13.1"
|
|
thiserror = "1.0.56"
|
|
tokio = { version = "1.32.0" }
|
|
tokio-listener = { version = "0.4.1", features = [ "tonic012" ] }
|
|
tonic = { version = "0.12.0", features = ["tls", "tls-roots"] }
|
|
tvix-castore = { path = "../castore" }
|
|
tvix-tracing = { path = "../tracing" }
|
|
tracing = "0.1.40"
|
|
url = "2.4.0"
|
|
mimalloc = "0.1.43"
|
|
|
|
[dependencies.tonic-reflection]
|
|
optional = true
|
|
version = "0.12.2"
|
|
|
|
[build-dependencies]
|
|
prost-build = "0.13.1"
|
|
tonic-build = "0.12.0"
|
|
|
|
[features]
|
|
default = []
|
|
tonic-reflection = ["dep:tonic-reflection", "tvix-castore/tonic-reflection"]
|
|
|
|
[dev-dependencies]
|
|
rstest = "0.19.0"
|
|
|
|
[lints]
|
|
workspace = true
|