fix(deps): update tokio-prost monorepo to 0.14 #237
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.12
->0.14
0.12
->0.14
Release Notes
tokio-rs/prost (prost)
v0.14.1
Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prost
generates simple, idiomatic Rust code fromproto2
andproto3
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 emittingrerun
commands. While intended to improve build correctness, this change caused regressions for some users—for example, those generatingprotos
from anincludes
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.
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: 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.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)v0.13.2
Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prost
generates simple, idiomatic Rust code fromproto2
andproto3
files.Features
Bug Fixes
Styling
Testing
parse_date
fuzzing target (#1127)parse_duration
fuzzing target (#1129)Miscellaneous Tasks
cargo test
withoutall-targets
(#1118)Build
proc-macro
in Cargo.toml (#1102)tests
crates (#1101)cmake
(#1137)v0.13.1
Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prost
generates simple, idiomatic Rust code fromproto2
andproto3
files.Bug fixes
v0.13.0
Compare Source
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 fromproto2
andproto3
files.This major update brings new features and fixes:
Breaking changes
derive Copy trait for messages where possible (#950)
prost-build
will automatically derivetrait Copy
for some messages. If you manually implementCopy
you should remove your implementation.Change generated functions signatures to remove type parameters (#1045)
The function signature of
trait Message
is changed to useimpl Buf
instead 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 byprost
derive macros, it will now return the error typeUnknownEnumValue
instead 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
Documentation
Internal
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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.