chore(tvix/[ca]store): allow building without tonic-reflection

- rename the feature to `tonic-reflection` in both tvix-store and tvix-
   castore.
 - set it to disabled in tvix-castore by default
 - enable it in tvix-store, and pull in tvix-castore with the feature
   enabled.

Change-Id: Ie22833d85569502cae55812f6eeb17a9c15b9e2c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9472
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
This commit is contained in:
Florian Klink 2023-09-26 10:30:35 +03:00 committed by clbot
parent 329067f629
commit 6b02800e48
8 changed files with 15 additions and 18 deletions

View file

@ -80,7 +80,7 @@ tempfile = "3.3.0"
tonic-mock = { git = "https://github.com/brainrake/tonic-mock", branch = "bump-dependencies" }
[features]
default = ["fuse", "virtiofs", "reflection"]
default = ["fuse", "virtiofs", "tonic-reflection"]
fs = ["dep:libc", "dep:fuse-backend-rs"]
virtiofs = [
"fs",
@ -94,4 +94,4 @@ virtiofs = [
"fuse-backend-rs?/virtiofs",
]
fuse = ["fs"]
reflection = ["tonic-reflection"]
tonic-reflection = ["dep:tonic-reflection", "tvix-castore/tonic-reflection"]