Vendor protoc so the build needs no system protobuf compiler
Some checks failed
CI / check (push) Has been cancelled

The gRPC build script required a system protoc, which a fresh clone and
the CI container lack (build failed with 'Could not find protoc'). Set
PROTOC from protoc-bin-vendored in build.rs (unless one is already set),
so cargo build works out of the box everywhere.
This commit is contained in:
Jean Chevronnet 2026-07-15 00:11:26 +00:00
parent 2994cbbfea
commit 23fac5eb39
No known key found for this signature in database
3 changed files with 72 additions and 0 deletions

View file

@ -67,3 +67,4 @@ tokio-stream = "0.1"
[build-dependencies]
tonic-build = "0.12"
protoc-bin-vendored = "3"