v0.7.0
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
bytes
public dependency version is now 1.0. - The bundled
protoc
version is now 3.14.0.
As well as many new (non-breaking) features and improvements:
- @hockeybuggy added support for
deprecated
field annotations. - @garbageslam and @dflemstr added
no_std
support. - @joseph-wakeling-frequenz fixed a bug in Timestamp <-> SystemTime conversions.
- @rolftimmermans added support for generating Rust
bytes::Bytes
fields from protobufbytes
fields. When deserializing from aBytes
instance, this enables zero-copy deserialization forbytes
fields! - @olix0r bumped the
bytes
dependency to 0.6, which included most of the heavy lifting for the subsequent move tobytes
1.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: