v0.8.0
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
NOTE: This version contains a security fix for prost-types and is recommend that you upgrade to it from <0.7.
prost 0.8.0 includes breaking changes:
Timestamp'sFromimplementation for converting intoSystemTimehas been converted to a fallibleTryFromimplementation.prost-build'scompile_protosnow takesimpl AsRef<Path>to allow each parameter to use its own generic type.- Bundled
protocversion bumped to3.15.8
As well as many new (non-breaking) changes:
- @pluth enabled zero-copy support for
Bytesbased fields. - @sfackler for fixing message optionals and oneofs in
prost-build. - @rubdos for adding the ability to encode prost messages directly to a
Vec<u8>.
and numerous smaller fixes. Many thanks to the generous contributors who have helped out since 0.7: