319c03f634
This uses [tracing](https://github.com/tokio-rs/tracing) for logs/ tracing. Annotate all method handlers with an instrument macro, and warn! a message for them being unimplemented. Co-Authored-By: Márton Boros <martonboros@gmail.com> Change-Id: Id42a41db33782d82abfb8dc0e49a8915000e5d89 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7665 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
37 lines
705 B
TOML
37 lines
705 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"
|
|
tracing-subscriber = "0.3.16"
|
|
tracing = "0.1.37"
|
|
|
|
[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"
|
|
]
|