Skip to content

Conversation

@ladvoc
Copy link
Contributor

@ladvoc ladvoc commented Oct 10, 2025

Summary of changes:

  • Upgrade prost to v0.14.1
  • Introduce prost-build to automatically regenerate bindings when Protobuf definitions change.
  • Remove unused prost-types dependency

Note: this only applies to the FFI crate, prost for the other crates needs to be upgraded separately.

A drawback of using prost-build is that protoc must be installed on the system as a build dependency. However, since the FFI crate is not used as a Cargo dependency, I think this is acceptable—though I’m open to opinions. For the other crates that use prost, I think we should stick to using the CI for protobuf generation.

Also upgrades to prost 0.14
@ladvoc ladvoc changed the title Prost upgrade for FFI Upgrade to Prost v0.14.1 for FFI Oct 10, 2025
@ladvoc ladvoc requested a review from cloudwebrtc October 10, 2025 09:09
@ladvoc ladvoc marked this pull request as ready for review October 10, 2025 09:10
@ladvoc ladvoc changed the title Upgrade to Prost v0.14.1 for FFI Upgrade prost, use prost-build (FFI only) Oct 10, 2025
Copy link
Contributor

@cloudwebrtc cloudwebrtc left a comment

Choose a reason for hiding this comment

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

lgtm!

@ladvoc ladvoc merged commit b6a4ad1 into main Oct 10, 2025
7 checks passed
@ladvoc ladvoc deleted the ladvoc/prost-upgrade branch October 10, 2025 10:20
@github-actions github-actions bot mentioned this pull request Oct 10, 2025
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