Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 28, 2020

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
  • b92b6de release 0.7.0
  • d79ad6f improve compatibility with alpine
  • 6a4f12a include_file_descriptor_set -> file_descriptor_set_path
  • aa11ecb Add include_file_descriptor_set to prost-build
  • a5bb7bf Add prost-build::Config::disable_comments option (#389)
  • 32bb509 bump bundled protobuf version to 3.14.0
  • f482208 bump rand dev dependency (#406)
  • 1db9167 bump bytes to 1.0 (#405)
  • 423f5ec Add bundled support for Mac aarch64 through Rosetta (#394)
  • 278e8ab Add up to date CI badge (#396)
  • 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 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] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 28, 2020
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 28, 2020

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

@dependabot dependabot bot closed this Dec 28, 2020
@dependabot dependabot bot 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
Make `encode` return iterator instead of vec
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 <[email protected]>
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 <[email protected]>
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants