PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
Relase 0.11 brings a few breaking changes and changes to how prost sources protoc.
prost-buildnow requiresprotocto be available in the path or set
via thePROTOCenv var.prost-typesnow contains newTimestamp/DurationFromStrimplementations.- MSRV bump to
1.56and all crates have been moved to edition 2021
Notible changes that are not breaking:
prost-buildnow has acleanup-markdownfeature for cleaining up
code blocks from protobuf files so that they work under rustdoc tests.prost-buildnow generatesas_str_namefor message types.