Sourced from prost's changelog.
Prost version 0.13.1
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.Bug fixes
- Enum variant named Error causes ambiguous item (#1098)
PROST version 0.13.0
note: this version was yanked in favor of 0.13.1
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.This major update brings new features and fixes:
Breaking changes
derive Copy trait for messages where possible (#950)
prost-buildwill automatically derivetrait Copyfor some messages. If you manually implementCopyyou should remove your implementation.Change generated functions signatures to remove type parameters (#1045)
The function signature of
trait Messageis changed to useimpl Bufinstead of a named generic type. If you implementtrait Message, you should change the function signature.Lightweight error value in TryFrom for enums (#1010)
When a
impl TryFrom<i32>is generated byprostderive macros, it will now return the error typeUnknownEnumValueinstead ofDecodeError. The new error can be used to retreive the integer value that failed to convert.Features
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.
Dependencies
- update env_logger requirement from 0.10 to 0.11 (#1074)
- update criterion requirement from 0.4 to 0.5 (#1071)
- Remove unused libz-sys (#1077)
- build(deps): update itertools requirement from >=0.10, =0.10, <=0.13 (#1070)
Documentation
- better checking of tag duplicates, avoid discarding invalid variant errs (#951)
- docs: Fix broken link warnings (#1056)
- Add missing LICENSE symlink (#1086)
Internal
... (truncated)
f19104a
chore: prepare 0.13.1 release (#1099)26463f4
fix: Enum variant named Error causes ambiguous item (#1098)23f7174
chore: Release version 0.13.0 (#1093)7a1424c
build: Fix prepare-release.sh (#1094)7790799
build(deps): update itertools requirement from >=0.10, <=0.12 to
>=0.10, <=0....4a0cc17
Add missing LICENSE symlink (#1086)ae33a5e
ci: Set rust version of clippy job to a fixed version (#1090)ba77654
fix: Only touch include file if contents is changed (#1058)e7049d3
workspace package metadata (#1036)ef4930c
docs: Fix broken link warnings (#1056)