PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
prost 0.7.0 includes breaking changes:
- The minimum-supported Rust version (MSRV) is now 1.46.0.
- The
bytespublic dependency version is now 1.0. - The bundled
protocversion is now 3.14.0.
As well as many new (non-breaking) features and improvements:
- @hockeybuggy added support for
deprecatedfield annotations. - @garbageslam and @dflemstr added
no_stdsupport. - @joseph-wakeling-frequenz fixed a bug in Timestamp <-> SystemTime conversions.
- @rolftimmermans added support for generating Rust
bytes::Bytesfields from protobufbytesfields. When deserializing from aBytesinstance, this enables zero-copy deserialization forbytesfields! - @olix0r bumped the
bytesdependency to 0.6, which included most of the heavy lifting for the subsequent move tobytes1.0. - @danburkert added support for the experimental proto3 optional field presence feature.
and numerous smaller fixes. Many thanks to the generous contributors who have helped out since 0.6.1: