Skip to content

refactor(proto): Use codegen for proto code generation#1946

Merged
kkovaacs merged 5 commits intonextfrom
krisztian/proto-use-codegen-for-descriptor-generation
Apr 16, 2026
Merged

refactor(proto): Use codegen for proto code generation#1946
kkovaacs merged 5 commits intonextfrom
krisztian/proto-use-codegen-for-descriptor-generation

Conversation

@kkovaacs
Copy link
Copy Markdown
Contributor

As a preparation for GRPC server standardization (see PR #1742) this change moves our build.rs to use the codegen crate for generating file_descriptors.rs.

What we're generating now is really trivial, but the changes outlined in PR #1742 will absolutely need something better than concatenating strings.

@kkovaacs kkovaacs added the no changelog This PR does not require an entry in the `CHANGELOG.md` file label Apr 15, 2026
@kkovaacs kkovaacs marked this pull request as ready for review April 15, 2026 10:13
@kkovaacs kkovaacs requested a review from sergerad April 15, 2026 12:46
Comment thread proto/build.rs Outdated
Copy link
Copy Markdown
Collaborator

@Mirko-von-Leipzig Mirko-von-Leipzig left a comment

Choose a reason for hiding this comment

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

Don't think we currently run doc tests, or even if build.rs is considered for them. But otherwise lgtm.

Comment thread proto/build.rs Outdated
Comment thread proto/build.rs Outdated
kkovaacs and others added 3 commits April 16, 2026 20:58
Co-authored-by: Mirko <48352201+Mirko-von-Leipzig@users.noreply.github.com>
Co-authored-by: Mirko <48352201+Mirko-von-Leipzig@users.noreply.github.com>
@kkovaacs kkovaacs merged commit 228636d into next Apr 16, 2026
18 checks passed
@kkovaacs kkovaacs deleted the krisztian/proto-use-codegen-for-descriptor-generation branch April 16, 2026 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog This PR does not require an entry in the `CHANGELOG.md` file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants