Skip to content

build(deps): update prost-types requirement from 0.6 to 0.7 - #2

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/prost-types-0.7
Closed

build(deps): update prost-types requirement from 0.6 to 0.7#2
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/prost-types-0.7

Conversation

@dependabot

@dependabotdependabotBot commented on behalf of githubDec 28, 2020

Copy link
Copy Markdown
Contributor

Updates the requirements on prost-types to permit the latest version.

Release notes

Sourced from prost-types's releases.

v0.7.0

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

prost 0.7.0 includes breaking changes:

  • The minimum-supported Rust version (MSRV) is now 1.46.0.
  • The bytes public dependency version is now 1.0.
  • The bundled protoc version is now 3.14.0.

As well as many new (non-breaking) features and improvements:

  • @hockeybuggy added support for deprecated field annotations.
  • @garbageslam and @dflemstr added no_std support.
  • @joseph-wakeling-frequenz fixed a bug in Timestamp SystemTime conversions.
  • @rolftimmermans added support for generating Rust bytes::Bytes fields from protobuf bytes fields. When deserializing from a Bytes instance, this enables zero-copy deserialization for bytes fields!
  • @olix0r bumped the bytes dependency to 0.6, which included most of the heavy lifting for the subsequent move to bytes 1.0.
  • @danburkert added support for the experimental proto3 optional field presence feature.

and numerous smaller fixes. Many thanks to the generous contributors who have helped out since 0.6.1:

Commits

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 ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [prost-types](https://github.com/danburkert/prost) to permit the latest version.
- [Release notes](https://github.com/danburkert/prost/releases)
- [Commits](danburkert/prost@v0.6.0...v0.7.0)
Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotBot added the dependencies Pull requests that update a dependency file label Dec 28, 2020
@dependabot@github

dependabotBot commented on behalf of githubDec 28, 2020

Copy link
Copy Markdown
ContributorAuthor

Looks like prost-types is up-to-date now, so this is no longer needed.

@dependabotdependabotBot closed this Dec 28, 2020
@dependabot
dependabotBot deleted the dependabot/cargo/prost-types-0.7 branch December 28, 2020 17:45
mxinden referenced this pull request in mxinden/client_rust Aug 20, 2022
sd2k added a commit to sd2k/client_rust that referenced this pull request Jan 20, 2025
This makes four changes:
1. The `EscapingScheme` and `ValidationScheme` enums are now `Copy`
since they are very small and cheap to copy. They're passed by
value rather than by reference.
2. The `escape_name` function now returns a `Cow` rather than a
`String` to avoid allocations in many cases.
3. `escape_name` also preallocates a buffer for the escaped name
rather than starting with an empty `String` and growing it, to
amortize the allocations.
4. Use `is_ascii_alphabetic` and `is_ascii_digit` to check for
characters that are valid in metric and label names.
Based on profiles I suspect that prometheus#2 has the highest impact but haven't
split these out to see how much of a difference it makes.
fedetorres93 pushed a commit to fedetorres93/client_rust that referenced this pull request Jan 22, 2025
This makes four changes:
1. The `EscapingScheme` and `ValidationScheme` enums are now `Copy`
since they are very small and cheap to copy. They're passed by
value rather than by reference.
2. The `escape_name` function now returns a `Cow` rather than a
`String` to avoid allocations in many cases.
3. `escape_name` also preallocates a buffer for the escaped name
rather than starting with an empty `String` and growing it, to
amortize the allocations.
4. Use `is_ascii_alphabetic` and `is_ascii_digit` to check for
characters that are valid in metric and label names.
Based on profiles I suspect that prometheus#2 has the highest impact but haven't
split these out to see how much of a difference it makes.
fedetorres93 pushed a commit to fedetorres93/client_rust that referenced this pull request Jan 22, 2025
This makes four changes:
1. The `EscapingScheme` and `ValidationScheme` enums are now `Copy`
since they are very small and cheap to copy. They're passed by
value rather than by reference.
2. The `escape_name` function now returns a `Cow` rather than a
`String` to avoid allocations in many cases.
3. `escape_name` also preallocates a buffer for the escaped name
rather than starting with an empty `String` and growing it, to
amortize the allocations.
4. Use `is_ascii_alphabetic` and `is_ascii_digit` to check for
characters that are valid in metric and label names.
Based on profiles I suspect that prometheus#2 has the highest impact but haven't
split these out to see how much of a difference it makes.
Signed-off-by: Ben Sully <ben.sully@grafana.com>
fedetorres93 pushed a commit to fedetorres93/client_rust that referenced this pull request Jan 22, 2025
This makes four changes:
1. The `EscapingScheme` and `ValidationScheme` enums are now `Copy`
since they are very small and cheap to copy. They're passed by
value rather than by reference.
2. The `escape_name` function now returns a `Cow` rather than a
`String` to avoid allocations in many cases.
3. `escape_name` also preallocates a buffer for the escaped name
rather than starting with an empty `String` and growing it, to
amortize the allocations.
4. Use `is_ascii_alphabetic` and `is_ascii_digit` to check for
characters that are valid in metric and label names.
Based on profiles I suspect that prometheus#2 has the highest impact but haven't
split these out to see how much of a difference it makes.
Signed-off-by: Ben Sully <ben.sully88@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants