Skip to content

Bump the rust-dependencies group with 3 updates#131

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/rust-dependencies-a5672741ac
Closed

Bump the rust-dependencies group with 3 updates#131
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/rust-dependencies-a5672741ac

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jul 21, 2025

Updates the requirements on prost, prost-build and darling to permit the latest version.
Updates prost to 0.14.1

Changelog

Sourced from prost's changelog.

Prost version 0.14.1

PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.

⚠️ Revert emission of rerun commands

Version 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 emitting rerun commands. While intended to improve build correctness, this change caused regressions for some users—for example, those generating protos from an includes 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](tokio-rs/prost#1296).

Breaking changes

  • prost: Relax Message Debug trait bound (#1147)

    BREAKING CHANGE: trait Debug was a supertrait of trait Message. This is no longer required by prost. If your code relies on trait Debug being implemented for every impl 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 to derive. Please rename any usage of prost-derive feature in your Cargo.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 as Vec<T> to prevent double indirection. The boxed 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 derive trait Eq and trait Hash for types where all field support those as well. If you manually impl Eq and/or impl Hash for generated types, then you need to remove the manual implementation. If you use type_attribute to derive(Eq) and/or derive(Hash), then you need to remove those.

Features

  • prost-types: Implement conversion Duration to/from chrono::TimeDelta (#1236)
  • prost-build: Prepare for 2024 keyword gen (#1257)

Dependencies

  • (deps) Update pulldown-cmark to 0.13 (#1259)
  • (deps) update criterion requirement from 0.5 to 0.6 (#1280)

Documentation

  • Update dead link LICENSE in prost-types/README.md (#1262)

Styling

  • Use DoubleEndedIterator::next_back (#1255)
  • Fix typo (#1260)

... (truncated)

Commits

Updates prost-build to 0.14.1

Changelog

Sourced from prost-build's changelog.

Prost version 0.14.1

PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.

⚠️ Revert emission of rerun commands

Version 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 emitting rerun commands. While intended to improve build correctness, this change caused regressions for some users—for example, those generating protos from an includes 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](tokio-rs/prost#1296).

Breaking changes

  • prost: Relax Message Debug trait bound (#1147)

    BREAKING CHANGE: trait Debug was a supertrait of trait Message. This is no longer required by prost. If your code relies on trait Debug being implemented for every impl 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 to derive. Please rename any usage of prost-derive feature in your Cargo.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 as Vec<T> to prevent double indirection. The boxed 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 derive trait Eq and trait Hash for types where all field support those as well. If you manually impl Eq and/or impl Hash for generated types, then you need to remove the manual implementation. If you use type_attribute to derive(Eq) and/or derive(Hash), then you need to remove those.

Features

  • prost-types: Implement conversion Duration to/from chrono::TimeDelta (#1236)
  • prost-build: Prepare for 2024 keyword gen (#1257)

Dependencies

  • (deps) Update pulldown-cmark to 0.13 (#1259)
  • (deps) update criterion requirement from 0.5 to 0.6 (#1280)

Documentation

  • Update dead link LICENSE in prost-types/README.md (#1262)

Styling

  • Use DoubleEndedIterator::next_back (#1255)
  • Fix typo (#1260)

... (truncated)

Commits

Updates darling to 0.21.0

Release notes

Sourced from darling's releases.

v0.21.0

  • Potentially breaking: Emit error when an attribute path is present in both attributes and forward_attrs. #336
  • Support parsing attributes which contain keywords #238
  • Add SpannedValue::into_inner #342
  • Add #[darling(derive_syn_parse)] to also impl syn::parse::Parse when deriving FromMeta #285
  • Make impl FromMeta for syn::TypePath support both quote-wrapped and bare values #351
  • Add util::PreservedStrExpr #346
  • Impl UsesTypeParams and UsesLifetimes for WithOriginal #215
  • Update error message emitted by <() as FromMeta>::from_list to allow use of () as a #[darling(flatten)] target #353
Changelog

Sourced from darling's changelog.

v0.21.0 (July 10, 2025)

  • Potentially breaking: Emit error when an attribute path is present in both attributes and forward_attrs. #336
  • Support parsing attributes which contain keywords #238
  • Add SpannedValue::into_inner #342
  • Add #[darling(derive_syn_parse)] to also impl syn::parse::Parse when deriving FromMeta #285
  • Make impl FromMeta for syn::TypePath support both quote-wrapped and bare values #351
  • Add util::PreservedStrExpr #346
  • Impl UsesTypeParams and UsesLifetimes for WithOriginal #215
  • Update error message emitted by <() as FromMeta>::from_list to allow use of () as a #[darling(flatten)] target #353

v0.20.11 (March 28, 2025)

  • Support #[darling(with = ...)] on the data field when deriving FromDeriveInput. This allows the use of simpler receiver types, such as a Vec of enum variants.
  • Bump version of proc-macro2 to 1.0.86.
  • Accept closures for #[darling(with = ...)] on fields in FromDeriveInput, FromMeta, FromField, etc. #309
  • Add darling::util::Callable to accept a path or closure as a meta-item expression
  • Add #[darling(from_word = ...)] and #[darling(from_none = ...)] to control shorthand and fallback behaviors for structs and enums deriving FromMeta #320
  • Add FromMeta impl for syn::ExprRange #329

v0.20.10 (July 9, 2024)

  • Add #[allow(clippy::manual_unwrap_or_default)] to all generated impls to avoid causing clippy fails in crates using darling #296
  • Properly initialize attrs magic field in derived FromAttributes impls #297

v0.20.9 (May 15, 2024)

  • Allow word-form for newtype enum variants whose only field produces a value when from_none is called on their type #249
  • Add FromMeta impls for the std::num::NonZero* types #288
  • Fix panic in number FromMeta impls when the parsed value is too large for the receiver type #289

v0.20.8 (February 23, 2024)

  • Add #[darling(with = ...)] support to attrs magic field to allow using custom receiver types for attrs #273

v0.20.7 (February 22, 2024)

  • Add #[darling(flatten)] to allow forwarding unknown fields to another struct #146
  • Don't suggest names of skipped fields in derived impls #268

v0.20.6 (February 14, 2024)

  • Fix some missing syn invisible group handling in FromMeta impls #263
  • Fix misleading error message on Error::unexpected_type so it no longer implies the type was a literal #264
  • Impl FromMeta Vec of literals, e.g. LitStr #265

v0.20.5 (January 30, 2024)

  • Add Flag::span inherent method, as Flag can no longer impl syn::spanned::Spanned #242

... (truncated)

Commits
  • 3c17242 Bump version to 0.21.0
  • cd5da98 Update CHANGELOG
  • a3f7bb1 impl from_list for () (#354)
  • 37ddb05 Update changelog
  • 9762245 Impl UsesTypeParams and UsesLifetimes for WithOriginal
  • ec867c2 Trying again to avoid duplicate CI tasks
  • 15be7b3 NFC: Replace some syn paths with use
  • 366d53d Avoid duplicate CI runs on pushes that become PRs
  • 09f6219 Add test for flatten behavior with multiple errors
  • aff17ba Add syn::parse::Parse support for FromMeta derive macro (#350)
  • Additional commits viewable in compare view

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Updates the requirements on [prost](https://github.com/tokio-rs/prost), [prost-build](https://github.com/tokio-rs/prost) and [darling](https://github.com/TedDriggs/darling) to permit the latest version.

Updates `prost` to 0.14.1
- [Release notes](https://github.com/tokio-rs/prost/releases)
- [Changelog](https://github.com/tokio-rs/prost/blob/master/CHANGELOG.md)
- [Commits](tokio-rs/prost@v0.13.2...v0.14.1)

Updates `prost-build` to 0.14.1
- [Release notes](https://github.com/tokio-rs/prost/releases)
- [Changelog](https://github.com/tokio-rs/prost/blob/master/CHANGELOG.md)
- [Commits](tokio-rs/prost@v0.13.2...v0.14.1)

Updates `darling` to 0.21.0
- [Release notes](https://github.com/TedDriggs/darling/releases)
- [Changelog](https://github.com/TedDriggs/darling/blob/master/CHANGELOG.md)
- [Commits](TedDriggs/darling@v0.20.3...v0.21.0)

---
updated-dependencies:
- dependency-name: prost
  dependency-version: 0.14.1
  dependency-type: direct:production
  dependency-group: rust-dependencies
- dependency-name: prost-build
  dependency-version: 0.14.1
  dependency-type: direct:production
  dependency-group: rust-dependencies
- dependency-name: darling
  dependency-version: 0.21.0
  dependency-type: direct:production
  dependency-group: rust-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot requested a review from sd2k as a code owner July 21, 2025 07:39
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Jul 21, 2025
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Jul 29, 2025

Looks like these dependencies are updatable in another way, so this is no longer needed.

@dependabot dependabot Bot closed this Jul 29, 2025
@dependabot dependabot Bot deleted the dependabot/cargo/rust-dependencies-a5672741ac branch July 29, 2025 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant