fix(deps): update rust crate prost to 0.13.0 #10

Merged
kjuulh merged 1 commits from renovate/tokio-prost-monorepo into main 2024-08-22 00:29:39 +02:00
Owner

This PR contains the following updates:

Package Type Update Change
prost dependencies minor 0.12.3 -> 0.13.0

Release Notes

tokio-rs/prost (prost)

v0.13.1

Compare Source

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)

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 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)
  • Remove unused libz-sys (#​1077)
  • build(deps): update itertools requirement from >=0.10, <=0.12 to >=0.10, <=0.13 (#​1070)

Documentation

  • better checking of tag duplicates, avoid discarding invalid variant errs (#​951)
  • docs: Fix broken link warnings (#​1056)
  • Add missing LICENSE symlink (#​1086)

Internal

  • workspace package metadata (#​1036)
  • fix: Build error due to merge conflict (#​1068)
  • build: Fix release scripts (#​1055)
  • chore: Add ci to check MSRV (#​1057)
  • ci: Add all tests pass job (#​1069)
  • ci: Add Dependabot (#​957)
  • ci: Ensure both README are the same and prost version is correct (#​1078)
  • ci: Set rust version of clippy job to a fixed version (#​1090)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [prost](https://github.com/tokio-rs/prost) | dependencies | minor | `0.12.3` -> `0.13.0` | --- ### Release Notes <details> <summary>tokio-rs/prost (prost)</summary> ### [`v0.13.1`](https://github.com/tokio-rs/prost/blob/HEAD/CHANGELOG.md#Prost-version-0131) [Compare Source](https://github.com/tokio-rs/prost/compare/v0.13.0...v0.13.1) *PROST!* is a [Protocol Buffers](https://developers.google.com/protocol-buffers/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files. #### Bug fixes - Enum variant named Error causes ambiguous item ([#&#8203;1098](https://github.com/tokio-rs/prost/issues/1098)) ### [`v0.13.0`](https://github.com/tokio-rs/prost/blob/HEAD/CHANGELOG.md#PROST-version-0130) [Compare Source](https://github.com/tokio-rs/prost/compare/v0.12.6...v0.13.0) **note**: this version was yanked in favor of 0.13.1 *PROST!* is a [Protocol Buffers](https://developers.google.com/protocol-buffers/) implementation for the [Rust Language](https://www.rust-lang.org/). `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 ([#&#8203;950](https://github.com/tokio-rs/prost/issues/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 ([#&#8203;1045](https://github.com/tokio-rs/prost/issues/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<i32> for enums ([#&#8203;1010](https://github.com/tokio-rs/prost/issues/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 ([#&#8203;1058](https://github.com/tokio-rs/prost/issues/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 ([#&#8203;1074](https://github.com/tokio-rs/prost/issues/1074)) - update criterion requirement from 0.4 to 0.5 ([#&#8203;1071](https://github.com/tokio-rs/prost/issues/1071)) - Remove unused libz-sys ([#&#8203;1077](https://github.com/tokio-rs/prost/issues/1077)) - build(deps): update itertools requirement from >=0.10, <=0.12 to >=0.10, <=0.13 ([#&#8203;1070](https://github.com/tokio-rs/prost/issues/1070)) #### Documentation - better checking of tag duplicates, avoid discarding invalid variant errs ([#&#8203;951](https://github.com/tokio-rs/prost/issues/951)) - docs: Fix broken link warnings ([#&#8203;1056](https://github.com/tokio-rs/prost/issues/1056)) - Add missing LICENSE symlink ([#&#8203;1086](https://github.com/tokio-rs/prost/issues/1086)) #### Internal - workspace package metadata ([#&#8203;1036](https://github.com/tokio-rs/prost/issues/1036)) - fix: Build error due to merge conflict ([#&#8203;1068](https://github.com/tokio-rs/prost/issues/1068)) - build: Fix release scripts ([#&#8203;1055](https://github.com/tokio-rs/prost/issues/1055)) - chore: Add ci to check MSRV ([#&#8203;1057](https://github.com/tokio-rs/prost/issues/1057)) - ci: Add all tests pass job ([#&#8203;1069](https://github.com/tokio-rs/prost/issues/1069)) - ci: Add Dependabot ([#&#8203;957](https://github.com/tokio-rs/prost/issues/957)) - ci: Ensure both README are the same and prost version is correct ([#&#8203;1078](https://github.com/tokio-rs/prost/issues/1078)) - ci: Set rust version of clippy job to a fixed version ([#&#8203;1090](https://github.com/tokio-rs/prost/issues/1090)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjQuMyIsInVwZGF0ZWRJblZlciI6IjM3LjQyNC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
kjuulh added 1 commit 2024-08-22 00:29:30 +02:00
fix(deps): update rust crate prost to 0.13.0
Some checks failed
renovate/artifacts Artifact file update failure
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
be7c89aa5a
kjuulh scheduled this pull request to auto merge when all checks succeed 2024-08-22 00:29:30 +02:00
Author
Owner

⚠️ 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:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path crates/flux-releaser/Cargo.toml --package prost@0.12.6 --precise 0.13.1
    Updating crates.io index
error: failed to select a version for the requirement `prost = "^0.12"`
candidate versions found which didn't match: 0.13.1
location searched: crates.io index
required by package `tonic v0.11.0`
    ... which satisfies dependency `tonic = "^0.11.0"` (locked to 0.11.0) of package `flux-releaser v0.1.0 (/tmp/renovate/repos/gitea/kjuulh/flux-releaser/crates/flux-releaser)`

### ⚠️ 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: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: Cargo.lock ``` Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path crates/flux-releaser/Cargo.toml --package prost@0.12.6 --precise 0.13.1 Updating crates.io index error: failed to select a version for the requirement `prost = "^0.12"` candidate versions found which didn't match: 0.13.1 location searched: crates.io index required by package `tonic v0.11.0` ... which satisfies dependency `tonic = "^0.11.0"` (locked to 0.11.0) of package `flux-releaser v0.1.0 (/tmp/renovate/repos/gitea/kjuulh/flux-releaser/crates/flux-releaser)` ```
kjuulh merged commit be7c89aa5a into main 2024-08-22 00:29:39 +02:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kjuulh/flux-releaser#10
No description provided.