NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io, #214 most downloaded on crates.io
Generate encoding and decoding implementations for Prost annotated types.
Latest stable
0.14.6
Last release 10 days ago
12 Nov 2026
Ships fairly regularly
a new release about every 2 months
Most releases are documented
notes for 31 of 39 stable releases
5 versions withdrawn
withdrawn after publishing
9 years old
44 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
fix: Reject map fields with a non length-delimited wire type by @LucioFranco in #1473
Full Changelog: v0.14.5...v0.14.6
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
ci: Update cargo clippy to 1.95 by @caspermeijn in #1436
cargo clippy to 1.95 by @caspermeijn in #1436Full Changelog: v0.14.4...v0.14.5
Your coding agent can read these notes before it upgrades. Set up the MCP server →
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
cargo clippy to 1.95 (#1436)PROST! is a Protocol Buffers implementation for the Rust Language . prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
decode_length_delimiter (#1311)getrandom@0.4.1 from build-dependencies (#1400)cargo clippy to 1.89 (#1433)cargo clippy to 1.91 (#1435)fix some forgotten prost import paths by @GlenDC in #1385
DecodeError::new by @caspermeijn in #1382Full Changelog: v0.14.2...v0.14.3
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
Add back DecodeError::new (#1382)
The DecodeError::new() was removed to simplify our code. It was not part of the public API, but
removing it broke code in other crates. It is added back to prevent breakage across the ecosystem.
Bug fixes are still important, and security fixes will be released as soon as possible. Contact the #prost channel in Tokio discord if you feel a bug…
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
Increase MSRV to 1.82 (#1356)
Update maintenance status to Passively Maintained (#1359)
This excerpt is from the readme:
The current maintainer is not contributing new features and doesn't have the time to review new features. Bug fixes and small improvements are welcome. Feel free to contribute small and easily reviewable PRs.
Bug fixes are still important, and security fixes will be released as soon as possible. Contact the
#prostchannel in Tokio discord if you feel a bug or security fix is not getting enough attention.The maintainer expects the official
protobufproject to release their rust library soon and expects it to be as fully featured as the C++ library. See their source code and crate for more information.
prost_build::Config or #[(prost(prost_path = "::prost")] (#1274)trait Error from core (#1179)format! string (#1293)format! string (#1361)ident_conversion (#1291)decode_varint_slice with roundtrips (#1325)Coumpound (#1365)BREAKING CHANGE: trait Debug was a supertrait of trait Message . This is no longer required by prost . If your code relies on trait Debug being implem…
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
rerun commandsVersion 0.14.1 reverts the emission of rerun commands. Other than this change, it is identical to 0.14.0.
In version 0.14.0, prost-build began emitting rerun commands. While intended to improve build correctness, this change caused regressions for some users—for example, those generating protos from an includes directory. These edge cases are difficult to address reliably, so the change has been rolled back in 0.14.1.
For more details, see issue #1296.
prost: Relax Message Debug trait bound (#1147)
BREAKING CHANGE: trait Debug was a supertrait of trait Message. This is no longer required by prost. If your code relies on trait Debug being implemented for every impl Message, you must now explicitly state that you require both Debug and Message. For example: where M: Debug + Message
prost: Remove prost-derive feature (#1247)
BREAKING CHANGE: Feature flag prost-derive is renamed to derive. Please rename any usage of prost-derive feature in your Cargo.toml.
prost-build: Prevent repeated fields to be boxed (#1237)
BREAKING CHANGE: A repeated field that is manually marked as boxed was typed as Vec<Box<T>>. Those fields are now simply typed as Vec<T> to prevent double indirection. The boxed configuration is effectively ignored for repeated fields.
prost-build: Make type_name_domain cumulative (#1228)
BREAKING CHANGE: The configuration for domain names of messages is now cumulative. All calls to prost_build::Config::type_name_domain are now concatenated. The previous behavior was that only the arguments of the last call were used. If you do multiple calls to type_name_domain, you need to remove all but the last call to maintain the same behavior.
prost-build: Derive Eq and Hash trait for messages where possible (#1175)
BREAKING CHANGE: prost-build will automatically derive trait Eq and trait Hash for types where all field support those as well. If you manually impl Eq and/or impl Hash for generated types, then you need to remove the manual implementation. If you use type_attribute to derive(Eq) and/or derive(Hash), then you need to remove those.
Duration to/from chrono::TimeDelta (#1236)gen (#1257)prost-types/README.md (#1262)BREAKING CHANGE: trait Debug was a supertrait of trait Message . This is no longer required by prost . If your code relies on trait Debug being implem…
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
prost: Relax Message Debug trait bound (#1147)
BREAKING CHANGE: trait Debug was a supertrait of trait Message. This is no longer required by prost. If your code relies on trait Debug being implemented for every impl Message, you must now explicitly state that you require both Debug and Message. For example: where M: Debug + Message
prost: Remove prost-derive feature (#1247)
BREAKING CHANGE: Feature flag prost-derive is renamed to derive. Please rename any usage of prost-derive feature in your Cargo.toml.
prost-build: Emit rerun commands (#1140)
BREAKING CHANGE: Previously cargo assumed it had to rerun build.rs if any files in the project changed. prost-build will now emit rerun commands, which means only the explicitly marked files cause a rerun. If your build.rs is dependent on any other file paths than those given to prost-build, then your build.rs needs to emit rerun commands as well.
prost-build: Prevent repeated fields to be boxed (#1237)
BREAKING CHANGE: A repeated field that is manually marked as boxed was typed as Vec<Box<T>>. Those fields are now simply typed as Vec<T> to prevent double indirection. The boxed configuration is effectively ignored for repeated fields.
prost-build: Make type_name_domain cumulative (#1228)
BREAKING CHANGE: The configuration for domain names of messages is now cumulative. All calls to prost_build::Config::type_name_domain are now concatenated. The previous behavior was that only the arguments of the last call were used. If you do multiple calls to type_name_domain, you need to remove all but the last call to maintain the same behavior.
prost-build: Derive Eq and Hash trait for messages where possible (#1175)
BREAKING CHANGE: prost-build will automatically derive trait Eq and trait Hash for types where all field support those as well. If you manually impl Eq and/or impl Hash for generated types, then you need to remove the manual implementation. If you use type_attribute to derive(Eq) and/or derive(Hash), then you need to remove those.
Duration to/from chrono::TimeDelta (#1236)gen (#1257)prost-types/README.md (#1262)PROST! is a Protocol Buffers implementation for the Rust Language . prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language . prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
bytes dependency from prost-build (#1169)Foo::bar is boxed (#1168)skip_debug into custom_debug (#1178)invalid_doctest to disable_comments (#1183)PROST! is a Protocol Buffers implementation for the Rust Language . prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
normalized functions (#1158)derived(Copy) on boxed fields (#1157)Path::display() when printing a path (#1150)MessageGraph::new() can't actually fail (#1151)Self in as_str_name (#1154)skip_debug for prost::Oneof (#1148)protoc from same repo as .proto-files (#1136)_PROST!_ is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
parse_date fuzzing target (#1127)parse_duration fuzzing target (#1129)cargo test without all-targets (#1118)proc-macro in Cargo.toml (#1102)tests crates (#1101)cmake (#1137)_PROST!_ is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
_PROST!_ is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
This major update brings new features and fixes:
derive Copy trait for messages where possible (#950)
prost-build will automatically derive trait Copy for some messages. If you manually implement Copy you should remove your implementation.
Change generated functions signatures to remove type parameters (#1045)
The function signature of trait Message is changed to use impl Buf instead of a named generic type. If you implement trait Message, you should change the function signature.
Lightweight error value in TryFrom<i32> for enums (#1010)
When a impl TryFrom<i32> is generated by prost derive macros, it will now return the error type UnknownEnumValue instead of DecodeError. The new error can be used to retreive the integer value that failed to convert.
fix: Only touch include file if contents is changed (#1058)
Most generated files are untouched when the contents doesn't change. Use the same mechanism for include file as well.
_PROST!_ is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
This patch update fixes a regression:
error_message_protoc_not_found, protoc_from_env & protoc_include_from_env (#1063)_PROST!_ is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
This patch update brings new fixes:
Self after stripping enum type prefix (#998)Syntax to a separate file (#1029)CodeGenerator::boxed method (#1019)BytesType and MapType into a collections module. (#1030)Config and Module into a separate module and files (#1020)taplo (#1034)_PROST!_ is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
This patch update brings new features and fixes:
prost-derive to derive (#992)_PROST!_ is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
This patch updates brings a few new fixes:
_PROST!_ is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
This patch updates brings a few new features and fixes:
Nothing published for this version
_PROST!_ is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
This patch updates brings a few new features and fixes:
syn to version 2TryFrom<i32> for enumsAny and Name impl/traits._PROST!_ is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
This patch updates brings a few new features and fixes:
Config::boxed (#802)_PROST!_ is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
This patch updates brings a few new features and fixes:
prost-types 0.11.7 was yanked due to the above unintentional semver breakage.
Nothing published for this version
_PROST!_ is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
This patch updates brings a few new features and fixes:
_PROST!_ is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
This patch updates brings a few new features and fixes:
_PROST!_ is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
This patch updates brings a few new features and fixes:
protoc sourcing instructions in error messages.Clone to Service types.Relase 0.11 brings a few breaking changes and changes to how prost sources protoc.
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-build now requires protoc to be available in the path or set
via the PROTOC env var.prost-types now contains new Timestamp/Duration FromStr implementations.1.56 and all crates have been moved to edition 2021Notible changes that are not breaking:
prost-build now has a cleanup-markdown feature for cleaining up
code blocks from protobuf files so that they work under rustdoc tests.prost-build now generates as_str_name for message types._PROST!_ is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
This minor release brings no new code changes but symlinks license files in all the crates.
_PROST!_ is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
Release 0.10 brings a few new ....
protoc is no longer bundled but is now compiled from bundled source_PROST!_ is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
Release 0.9.0 brings in many helpful changes and fixes, here are a few highlights:
_NOTE: This version contains a security fix for prost-types and is recommend that you upgrade to it from <0.7._
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's From implementation for converting into SystemTime has been converted to a fallible TryFrom implementation.prost-build's compile_protos now takes impl AsRef<Path> to allow each parameter to use its own generic type.protoc version bumped to 3.15.8As well as many new (non-breaking) changes:
Bytes based fields.prost-build.Vec<u8>.and numerous smaller fixes. Many thanks to the generous contributors who have helped out since 0.7:
prost 0.7.0 includes breaking changes:
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:
bytes public dependency version is now 1.0.protoc version is now 3.14.0.As well as many new (non-breaking) features and improvements:
deprecated field annotations.no_std support.bytes::Bytes fields from protobuf bytes fields. When deserializing from a Bytes instance, this enables zero-copy deserialization for bytes fields!bytes dependency to 0.6, which included most of the heavy lifting for the subsequent move to bytes 1.0.and numerous smaller fixes. Many thanks to the generous contributors who have helped out since 0.6.1:
_PROST!_ is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
prost 0.6.1 fixes a bug in which decoding untrusted input could overflow the stack. The bug was reported by @dbrgn in #267 (with an attached repro!), and fixed by @danburkert. The fix extended the same recursion limits introduced in #186 by @nrc (released in 0.6.0) to the logic which skips unknown fields during decoding, which became recursive when support was added for decoding groups (also released in 0.6.0). The 0.6.0 release of the prost crates has been yanked from crates.io.
Additionally, @koushiro updated the private dependencies of all prost crates to the latest versions.
Many thanks to the generous contributors who have helped out since 0.6.0:
prost 0.6.0 includes breaking changes:
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
prost 0.6.0 includes breaking changes:
bytes public dependency version is now 0.5.Timestamp and Duration types now impl TryFrom for their
std::time equivalents. The old inherent try_from methods have been
removed.no-recursion-limit Cargo feature.As well as many new (non-breaking) features and improvements:
byteorder.ServiceGenerator::finalize_package, which is useful for
advanced service generators.bytes
crate, which means applications which use prost code generation are no
longer required to declare a bytes dependency.syn, quote, and proc-macro2 to stable
versions.prost-build so that it no longer writes .rs files when they
are unchanged, which improves working with tools like cargo watch in
codebases with prost code generation.failure with anyhow.protoc version to 3.11.2.Many thanks to the generous contributors who have helped out since 0.5.0:
_PROST!_ is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
prost 0.5.0 should be mostly source-compatible with version 0.4.0, with one exception: prost 0.4.0 escapes field and message names which are Rust keyword by appending a suffix underscore; prost 0.5.0 does not escape field or message names, instead using the new raw-identifier feature. In addition, the minimum rustc version has been bumped to 1.32.0.
0.5.0 ships with new features and bug fixes:
prost_build::Config::out_dir() method.prost-derive types in prost. As a result, it should no longer be necessary for applications to depend directly on the prost-derive crate.prost generated types in external crates with a new prost_build::Config::extern_path() method.Many thanks to the generous contributors who have helped out since 0.4.0:
prost 0.4.0 contains new features, bug-fixes, and one breaking change since 0.3.0:
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:
prost users.Message.
Tag inference reduces the number annotations necessary when manually writing
message structs.retain_enum_prefix. This is a breaking change.Many thanks to the generous contributors who have helped out since 0.3.0:
Nothing published for this version
Nothing published for this version
prost 0.3.0 contains new features, bug-fixes, and one breaking change since 0.2.0:
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
prost 0.3.0 contains new features, bug-fixes, and one breaking change since 0.2.0:
prost-build which allows custom attributes to be added to generated types. This allows applications to derive traits for generated types, such as SerDe support.Debug implementation for enumeration fields to be more helpful.prost_build::ServiceGenerator and prost_build::Config APIs have been changed to take &mut self instead of &self in order to simplify writing stateful service generators.Many thanks to the wonderful contributors who have pitched-in since 0.2.0:
Nothing published for this version
Nothing published for this version
Nothing published for this version
_PROST!_ is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
prost 0.2.0 includes many improvements over the previous version, including:
prost-codegen crate has been removed, and its functionality has been combined into prost-build.prost-types, containing Protobuf well-known types has been added. The code generator will automatically use prost-types when well-known types are encountered during .proto → .rs code generation.prost-build has a new builder API (prost_build::Config), which can be used to specify custom code generation options. Current options include:
BTreeMap instead of HashMap for map fields.service definitions.prost::EncodeError and prost::DecodeError for encoding and decoding results.prost::Message trait has been made more flexible, and more ergonomic.Message::clear method.Nothing published for this version
One column per quarter.