Skip to content

chore: use vendored pre-built protobuf rs file - #30

Merged
ianthetechie merged 1 commit into
stadiamaps:mainfrom
nyurik:copilot/vendor-generated-source-files
Mar 16, 2026
Merged

chore: use vendored pre-built protobuf rs file#30
ianthetechie merged 1 commit into
stadiamaps:mainfrom
nyurik:copilot/vendor-generated-source-files

Conversation

@nyurik

@nyurik nyurik commented Mar 14, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@ianthetechie ianthetechie left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice; thanks Yuri! I probably won't get a chance to check in my clean dev box until Monday but looks pretty good eyeballing it.

I'm somewhat inclined to ignore the suggestion that we need a major semver bump here, since I think the effect is that nothing breaks for any users... 🤔

  • Default features - result should be identical, except that build.rs doesn't need to do anything.
  • Explicit feature flags - The crate will still work; the flags are just not going to affect the build 😂
    • protoc-vendored - still works as is
    • protoc-from-src - still works too

Anyone else have another opinion? Or can we just call it a patch release?

Comment thread pbf_font_tools/build.rs
Comment thread pbf_font_tools/src/proto/llmr.glyphs.rs
@nyurik
nyurik force-pushed the copilot/vendor-generated-source-files branch 2 times, most recently from 9953ebb to 84ececc Compare March 15, 2026 15:33
@nyurik

nyurik commented Mar 15, 2026

Copy link
Copy Markdown
Collaborator Author

i just updated this pr:

  • protoc-from-src and protoc-vendored features now auto-enable the force-protobuf-gen -- it makes no sense otherwise
  • CI deletes the file before regenerating - to make sure the result is identical

@nyurik
nyurik force-pushed the copilot/vendor-generated-source-files branch from 84ececc to ae50c1f Compare March 15, 2026 15:34

@ianthetechie ianthetechie left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@ianthetechie
ianthetechie merged commit ead4989 into stadiamaps:main Mar 16, 2026
10 of 11 checks passed
@nyurik
nyurik deleted the copilot/vendor-generated-source-files branch March 16, 2026 02:26
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.

3 participants