fix(deps): update rust crate prost to 0.14.0 #70
			No reviewers
			
				
				
			
		
		
		
	
	
	
		Labels
		
	
	
	
	No labels
	
		
		
			
	
	bug
		
			duplicate
		
			enhancement
		
			help wanted
		
			invalid
		
			question
		
			renovate-bot
		
			renovate-security
		
			security
		
			wontfix
		
	
		No milestone
		
			
		
	No project
	
		
	
	
	
	
		No assignees
		
	
	
		
			
		
	
	
	
		1 participant
	
	
		
		
	Notifications
	
		
	
	
	
		
	
	
	Due date
No due date set.
	
		Dependencies
		
		
	
	
	No dependencies set.
	
	
		
	
	
		
			Reference
		
	
	
		
	
	
			mCaptcha/dcache!70
			
		
	
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	
	No description provided.
		
		Delete branch "renovate/tokio-prost-monorepo"
	
	Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.12.3->0.14.0Release Notes
tokio-rs/prost (prost)
v0.14.1Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.⚠️ Revert emission of
reruncommandsVersion 0.14.1 reverts the emission of
reruncommands. Other than this change, it is identical to 0.14.0.In version 0.14.0,
prost-buildbegan emittingreruncommands. While intended to improve build correctness, this change caused regressions for some users—for example, those generatingprotosfrom anincludesdirectory. 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 Debugwas a supertrait oftrait Message. This is no longer required byprost. If your code relies ontrait Debugbeing implemented for everyimpl Message, you must now explicitly state that you require both Debug and Message. For example:where M: Debug + Messageprost: Remove prost-derive feature (#1247)
BREAKING CHANGE: Feature flag
prost-deriveis renamed toderive. Please rename any usage ofprost-derivefeature 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. Theboxedconfiguration is effectively ignored for repeated fields.prost-build: Make
type_name_domaincumulative (#1228)BREAKING CHANGE: The configuration for domain names of messages is now cumulative. All calls to
prost_build::Config::type_name_domainare 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-buildwill automatically derivetrait Eqandtrait Hashfor types where all field support those as well. If you manuallyimpl Eqand/orimpl Hashfor generated types, then you need to remove the manual implementation. If you usetype_attributetoderive(Eq)and/orderive(Hash), then you need to remove those.Features
Durationto/fromchrono::TimeDelta(#1236)gen(#1257)Dependencies
Documentation
prost-types/README.md(#1262)Styling
Testing
v0.14.0Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.Breaking changes
prost: Relax Message Debug trait bound (#1147)
BREAKING CHANGE:
trait Debugwas a supertrait oftrait Message. This is no longer required byprost. If your code relies ontrait Debugbeing implemented for everyimpl Message, you must now explicitly state that you require both Debug and Message. For example:where M: Debug + Messageprost: Remove prost-derive feature (#1247)
BREAKING CHANGE: Feature flag
prost-deriveis renamed toderive. Please rename any usage ofprost-derivefeature in yourCargo.toml.prost-build: Emit
reruncommands (#1140)BREAKING CHANGE: Previously
cargoassumed it had to rerunbuild.rsif any files in the project changed.prost-buildwill now emitreruncommands, which means only the explicitly marked files cause a rerun. If yourbuild.rsis dependent on any other file paths than those given toprost-build, then yourbuild.rsneeds to emitreruncommands 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. Theboxedconfiguration is effectively ignored for repeated fields.prost-build: Make
type_name_domaincumulative (#1228)BREAKING CHANGE: The configuration for domain names of messages is now cumulative. All calls to
prost_build::Config::type_name_domainare 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-buildwill automatically derivetrait Eqandtrait Hashfor types where all field support those as well. If you manuallyimpl Eqand/orimpl Hashfor generated types, then you need to remove the manual implementation. If you usetype_attributetoderive(Eq)and/orderive(Hash), then you need to remove those.Features
Durationto/fromchrono::TimeDelta(#1236)gen(#1257)Dependencies
Documentation
prost-types/README.md(#1262)Styling
Testing
v0.13.5Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.Features
Documentation
Dependencies
Styling
map_or(#1221)Testing
v0.13.4Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.Features
Performance
Dependencies
bytesdependency fromprost-build(#1169)Styling
Testing
Foo::baris boxed (#1168)skip_debugintocustom_debug(#1178)invalid_doctesttodisable_comments(#1183)Build
GITHUB_TOKEN(#1189)v0.13.3Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.Features
normalizedfunctions (#1158)Bug Fixes
derived(Copy)on boxed fields (#1157)Documentation
cargo addin example (#1149)Styling
Path::display()when printing a path (#1150)MessageGraph::new()can't actually fail (#1151)Selfinas_str_name(#1154)Testing
skip_debugforprost::Oneof(#1148)Build
protocfrom same repo as .proto-files (#1136)v0.13.2Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.Features
Bug Fixes
Styling
Testing
parse_datefuzzing target (#1127)parse_durationfuzzing target (#1129)Miscellaneous Tasks
cargo testwithoutall-targets(#1118)Build
proc-macroin Cargo.toml (#1102)testscrates (#1101)cmake(#1137)v0.13.1Compare Source
PROST! is a Protocol Buffers implementation for the Rust Language.
prostgenerates simple, idiomatic Rust code fromproto2andproto3files.Bug fixes
v0.13.0Compare Source
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
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 this update again.
This PR has been generated by Renovate Bot.
3b1f2930a288e0baacf888e0baacf8d0d199154efix(deps): update rust crate prost to 0.13.0to fix(deps): update rust crate prost to 0.14.0⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: Cargo.lock
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.