-
Notifications
You must be signed in to change notification settings - Fork 85
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
feat(encoding): implement EncodeLabelKey
and EncodeLabelValue
for Arc
#188
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thank you. To get this merged and released:
- Can you bump the patch version in
Cargo.toml
? - Can you add an entry in
CHANGELOG.md
? - What do you think of adding the same for
Rc
?
Also please follow up on the DCO CI failure: https://github.com/prometheus/client_rust/pull/188/checks?check_run_id=20974266838 |
Updated. I've also added |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the follow ups.
CHANGELOG.md
Outdated
### Added | ||
|
||
- Added `EncodeLabelValue` and `EncodeLabelKey` implementations for for `Arc`, | ||
`Rc`, and `Box`. | ||
|
||
[PR 188]: https://github.com/prometheus/client_rust/pull/188 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to go into a new [0.22.1]
section.
CHANGELOG.md
Outdated
@@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
|
|||
## [0.22.0] | |||
|
|||
### Added | |||
|
|||
- Added `EncodeLabelValue` and `EncodeLabelKey` implementations for for `Arc`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Added `EncodeLabelValue` and `EncodeLabelKey` implementations for for `Arc`, | |
- Added `EncodeLabelValue` and `EncodeLabelKey` implementations for `Arc`, |
… `Arc` Signed-off-by: Andre Masella <[email protected]>
Fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Signed-off-by: Max Inden <[email protected]>
Adds blanket implementations to encode reference-counted keys and values.