Skip to content

v0.4.0

Compare
Choose a tag to compare
@danburkert danburkert released this 13 Jun 05:08
· 346 commits to master since this release

PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.

prost 0.4.0 contains new features, bug-fixes, and one breaking change since
0.3.0:

  • @briansmith cleaned up the project dependencies and build scripts, resulting
    in faster and more robust builds for all prost users.
  • @kestred added tag inference on fields in types which derive Message.
    Tag inference reduces the number annotations necessary when manually writing
    message structs.
  • @warrenfalk added logic to strip the enum name from enum
    variants which include the enum name as a prefix. This style is common with
    Protobuf (since it's heavily tied to C++ name resolution), however it's
    non-idiomatic in Rust. To restore the previous behavior a new Config option is
    provided: retain_enum_prefix. This is a breaking change.
  • @danburkert added helper methods for working with length delimiters
    independently of message encoding and decoding.
  • And many more bug fixes.

Many thanks to the generous contributors who have helped out since 0.3.0:

  • Brian Smith
  • Dan Burkert
  • Gergely Nagy
  • Ivan Mironov
  • Kevin Stenerson
  • Warren Falk
  • YetAnotherMinion
  • hcpl