Upgrading protobuf 2 to 3
Breaking2.28.0 → 3.7.2Breaking1Security1New5Changed7Fixed5Other8
BreakingUpgrade verdict
1 breaking change and a security fix.
In plain terms
- The plugin that generates Rust code from .proto files has a new name, so the old command-line flag for protoc stops working.
- Crash due to uncontrolled recursion in protobuf crate
Must act 2 items need code or config changes
What you must change
Breaking1
Renames
protoc-gen-rust to protoc-gen-rs, so protoc --rust_out= no longer works with the latest Google protobuf.protoc-gen-rustprotoc-gen-rsprotoc --rust_out=Security1
Crash due to uncontrolled recursion in protobuf crate