0bf2b0ef11
This implements grpc.reflection.v1alpha.ServerReflection, and will make tools like evans automatically discover available services, without having to specify the path to the .proto files client-side. It's behind a reflection feature flag, which is enabled by default. Change-Id: Icbcb5eb05ceede5b9952e38a2ba72eaa6fa8a437 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7435 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
35 lines
656 B
TOML
35 lines
656 B
TOML
[package]
|
|
name = "tvix-store"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.68"
|
|
blake3 = { version = "1.3.1", features = ["rayon", "std"] }
|
|
data-encoding = "2.3.3"
|
|
lazy_static = "1.4.0"
|
|
clap = { version = "4.0", features = ["derive", "env"] }
|
|
prost = "0.11.2"
|
|
thiserror = "1.0.38"
|
|
tokio = { version = "1.23.0", features = ["rt-multi-thread"] }
|
|
tokio-stream = "0.1.11"
|
|
tonic = "0.8.2"
|
|
|
|
[dependencies.tonic-reflection]
|
|
optional = true
|
|
version = "0.5.0"
|
|
|
|
[build-dependencies]
|
|
prost-build = "0.11.2"
|
|
tonic-build = "0.8.2"
|
|
|
|
[dev-dependencies]
|
|
test-case = "2.2.2"
|
|
|
|
[features]
|
|
default = [
|
|
"reflection"
|
|
]
|
|
reflection = [
|
|
"tonic-reflection"
|
|
]
|