chore(tvix/store): add fastcdc crate

This is used for content-defined chunking.

Change-Id: I10345372cecb9a643cc51ca45aa5b77d2a05198a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7889
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
Florian Klink 2023-01-21 14:18:51 +01:00 committed by flokli
parent 4614db2f83
commit 1a84e3e6d8
3 changed files with 24 additions and 6 deletions

View file

@ -20,6 +20,7 @@ tokio-stream = "0.1.11"
tonic = "0.8.2"
tracing-subscriber = "0.3.16"
tracing = "0.1.37"
fastcdc = "2.0.0"
[dependencies.tonic-reflection]
optional = true
@ -35,9 +36,5 @@ tempfile = "3.3.0"
tonic-mock = { git = "https://github.com/brainrake/tonic-mock", branch = "bump-dependencies" }
[features]
default = [
"reflection"
]
reflection = [
"tonic-reflection"
]
default = ["reflection"]
reflection = ["tonic-reflection"]