Skip to content

Switch protoc for protox#10437

Draft
MarkusPettersson98 wants to merge 2 commits into
mainfrom
drop-protoc-requirement
Draft

Switch protoc for protox#10437
MarkusPettersson98 wants to merge 2 commits into
mainfrom
drop-protoc-requirement

Conversation

@MarkusPettersson98
Copy link
Copy Markdown
Contributor

@MarkusPettersson98 MarkusPettersson98 commented May 19, 2026

This PR swaps out protoc for protox, as pure Rust implementation of a protobuf compiler. This allows us to add it as a build-time dependency in the crates where we compile .proto files, and we can get rid of protoc as a dependency. This is nice, since build/dev environments do not need to install protoc anymore (Thus invalidating #10431, for example).

Blocked on grpc/grpc-rust#2647.


This change is Reviewable

@MarkusPettersson98 MarkusPettersson98 force-pushed the upgrade-tonic branch 2 times, most recently from a560e81 to 2b15bf9 Compare May 20, 2026 08:04
Base automatically changed from upgrade-tonic to main May 20, 2026 08:10
@MarkusPettersson98 MarkusPettersson98 force-pushed the drop-protoc-requirement branch 2 times, most recently from 880dd21 to ebb4045 Compare May 25, 2026 11:56
Add `protox` as a build-time dependency for compiling .proto files. This
allow us to drop the dependency on the external `protoc` binary in order
to build the workspace crates that include protobuf defintions.
@MarkusPettersson98 MarkusPettersson98 force-pushed the drop-protoc-requirement branch from bf77253 to e43abe4 Compare May 25, 2026 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant