Skip to content

feat(client): allow usage of protox instead of system protoc - #1590

Merged
chris-olszewski merged 1 commit into
mainfrom
olszewski/allow_non_protoc
Sep 4, 2026
Merged

feat(client): allow usage of protox instead of system protoc#1590
chris-olszewski merged 1 commit into
mainfrom
olszewski/allow_non_protoc

Conversation

@chris-olszewski

@chris-olszewski chris-olszewski commented Sep 4, 2026

Copy link
Copy Markdown
Member

What was changed

Add vendored-protox feature to the protos crate and thread it through up to the client crate. Enabling the feature will switch the proto build to use protox instead of trying to find a system protoc install.

Why?

Useful for avoiding setting up a protoc to use the Rust SDK.

Checklist

  1. Closes Support vendored/pure-Rust protoc for temporalio-protos (like prost-wkt-types already does) #1589

  2. How was this tested:
    Verified locally, added a CI job that verifies we can build without a protoc.

  3. Any docs updates needed?
    Added README updates to the appropriate crates.

@chris-olszewski
chris-olszewski requested a review from a team as a code owner September 4, 2026 18:44
Comment thread crates/protos/Cargo.toml

[build-dependencies]
prost = { workspace = true }
prost-types = "0.14"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: our workspace aliases prost-types to prost-wkt-types. I think this dep was a mistake as it pulls in an unused and different prost-types crate. It was causing issues when we were trying to enable vendored-protox as the "real" prost-types crate doesn't have this feature.

@chris-olszewski
chris-olszewski merged commit edf4d2f into main Sep 4, 2026
42 of 43 checks passed
@chris-olszewski
chris-olszewski deleted the olszewski/allow_non_protoc branch September 4, 2026 19:24
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.

Support vendored/pure-Rust protoc for temporalio-protos (like prost-wkt-types already does)

2 participants