Skip to content

Conversation

blinsay
Copy link
Member

@blinsay blinsay commented Aug 18, 2025

Generating sources in tests was causing a horrible circular dependency issue (see #3). Move codegen back to an xtask to avoid that.

I went with keeping the xtask as a member of the workspace so that it was easier to keep prost/tonic and prost-build /tonic-build in sync between generation and the actual crate. There shouldn't be too much changed here - it's mostly moving the generation code to a new place and adding some package structure.

The protoc version did change (from 27 to 29), but only because because Homebrew doesn't pin protobuf@27 but does pin protobuf@29. I'll do a larger version bump in a separate PR.

generating sources in tests was causing circular dependency problems,
so we're back to generating sources in an xtask that is completely
separate from the rest of the crate.
@blinsay blinsay force-pushed the push-wlmyyqzpzzmz branch from 23ae1f1 to 04c0b7c Compare August 18, 2025 19:48
@blinsay blinsay merged commit 15969ba into main Aug 18, 2025
1 check passed
@blinsay blinsay deleted the push-wlmyyqzpzzmz branch August 18, 2025 19:56
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