v0.3.0
PROST! is a Protocol Buffers implementation for the Rust Language. prost
generates simple, idiomatic Rust code from proto2
and proto3
files.
prost
0.3.0 contains new features, bug-fixes, and one breaking change since 0.2.0:
- @vorner added an important new feature to
prost-build
which allows custom attributes to be added to generated types. This allows applications to derive traits for generated types, such as SerDe support. - @vorner changed the
Debug
implementation for enumeration fields to be more helpful. - The
prost_build::ServiceGenerator
andprost_build::Config
APIs have been changed to take&mut self
instead of&self
in order to simplify writing stateful service generators.
Many thanks to the wonderful contributors who have pitched-in since 0.2.0:
- Dan Burkert
- Fabrice Desré
- Michal 'vorner' Vaner
- Oliver Gould