fix(deps): update rust crate prost to 0.14 #14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.13
->0.14
Release Notes
tokio-rs/prost (prost)
v0.14.0
Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prost
generates simple, idiomatic Rust code fromproto2
andproto3
files.Breaking changes
prost: Relax Message Debug trait bound (#1147)
BREAKING CHANGE:
trait Debug
was a supertrait oftrait Message
. This is no longer required byprost
. If your code relies ontrait Debug
being implemented for everyimpl 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 toderive
. Please rename any usage ofprost-derive
feature in yourCargo.toml
.prost-build: Emit
rerun
commands (#1140)BREAKING CHANGE: Previously
cargo
assumed it had to rerunbuild.rs
if any files in the project changed.prost-build
will now emitrerun
commands, which means only the explicitly marked files cause a rerun. If yourbuild.rs
is dependent on any other file paths than those given toprost-build
, then yourbuild.rs
needs to emitrerun
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 asVec<T>
to prevent double indirection. Theboxed
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 derivetrait Eq
andtrait Hash
for types where all field support those as well. If you manuallyimpl Eq
and/orimpl Hash
for generated types, then you need to remove the manual implementation. If you usetype_attribute
toderive(Eq)
and/orderive(Hash)
, then you need to remove those.Features
Duration
to/fromchrono::TimeDelta
(#1236)gen
(#1257)Dependencies
Documentation
prost-types/README.md
(#1262)Styling
Testing
v0.13.5
Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prost
generates simple, idiomatic Rust code fromproto2
andproto3
files.Features
Documentation
Dependencies
Styling
map_or
(#1221)Testing
v0.13.4
Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prost
generates simple, idiomatic Rust code fromproto2
andproto3
files.Features
Performance
Dependencies
bytes
dependency fromprost-build
(#1169)Styling
Testing
Foo::bar
is boxed (#1168)skip_debug
intocustom_debug
(#1178)invalid_doctest
todisable_comments
(#1183)Build
GITHUB_TOKEN
(#1189)v0.13.3
Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prost
generates simple, idiomatic Rust code fromproto2
andproto3
files.Features
normalized
functions (#1158)Bug Fixes
derived(Copy)
on boxed fields (#1157)Documentation
cargo add
in example (#1149)Styling
Path::display()
when printing a path (#1150)MessageGraph::new()
can't actually fail (#1151)Self
inas_str_name
(#1154)Testing
skip_debug
forprost::Oneof
(#1148)Build
protoc
from same repo as .proto-files (#1136)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.