PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
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. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
This major update brings new features and fixes:
Breaking changes
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 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.
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)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on prost-build to permit the latest version.
Changelog
Sourced from prost-build's changelog.
... (truncated)
Commits
f19104a
chore: prepare 0.13.1 release (#1099)26463f4
fix: Enum variant namedError
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)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show