chore(tvix): bump crate dependencies

tonic-build deprecated their `compile()` function, it's now called
`compile_protos()`.

Change-Id: I8cacd7f01a251c207401e4e226b0e880744e96e8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12596
Tested-by: BuildkiteCI
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
Autosubmit: flokli <flokli@flokli.de>
This commit is contained in:
Florian Klink 2024-10-12 00:08:44 +03:00 committed by clbot
parent 8b7b85359b
commit c35cfc1684
5 changed files with 1662 additions and 1553 deletions

1168
tvix/Cargo.lock generated

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -18,7 +18,7 @@ fn main() -> Result<()> {
.emit_rerun_if_changed(false) .emit_rerun_if_changed(false)
.bytes(["."]) .bytes(["."])
.extern_path(".tvix.castore.v1", "::tvix_castore::proto") .extern_path(".tvix.castore.v1", "::tvix_castore::proto")
.compile( .compile_protos(
&[ &[
"tvix/build/protos/build.proto", "tvix/build/protos/build.proto",
"tvix/build/protos/rpc_build.proto", "tvix/build/protos/rpc_build.proto",

View file

@ -18,7 +18,7 @@ fn main() -> Result<()> {
.emit_rerun_if_changed(false) .emit_rerun_if_changed(false)
.bytes(["."]) .bytes(["."])
.type_attribute(".", "#[derive(Eq, Hash)]") .type_attribute(".", "#[derive(Eq, Hash)]")
.compile( .compile_protos(
&[ &[
"tvix/castore/protos/castore.proto", "tvix/castore/protos/castore.proto",
"tvix/castore/protos/rpc_blobstore.proto", "tvix/castore/protos/rpc_blobstore.proto",

View file

@ -18,7 +18,7 @@ fn main() -> Result<()> {
.emit_rerun_if_changed(false) .emit_rerun_if_changed(false)
.bytes(["."]) .bytes(["."])
.extern_path(".tvix.castore.v1", "::tvix_castore::proto") .extern_path(".tvix.castore.v1", "::tvix_castore::proto")
.compile( .compile_protos(
&[ &[
"tvix/store/protos/pathinfo.proto", "tvix/store/protos/pathinfo.proto",
"tvix/store/protos/rpc_pathinfo.proto", "tvix/store/protos/rpc_pathinfo.proto",