8000 Remove `hashes::hex::HexWriter` by tcharding · Pull Request #1572 · rust-bitcoin/rust-bitcoin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Remove hashes::hex::HexWriter #1572

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

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

tcharding
Copy link
Member

The HexWriter is not used any more since we added the new hex code in internals for fast hex encoding.

While we are removing the benches for HexWriter also remove the last remaining bench for writing using Display because this is not the correct place for that code - its trivial to re add later in the correct module.

The `HexWriter` is not used any more since we added the new hex code in
internals for fast hex encoding.

While we are removing the benches for `HexWriter` also remove the last
remaining bench for writing using `Display` because this is not the
correct place for that code - its trivial to re add later in the correct
module.
This was referenced Jan 22, 2023
@tcharding tcharding added P-high High priority API break This PR requires a version bump for the next release trivial Obvious, easy and quick to review (few lines or doc-only...) labels Jan 22, 2023
Copy link
Collaborator
@Kixunil Kixunil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK e079524

@Kixunil
Copy link
Collaborator
Kixunil commented Jan 22, 2023

For the hex crate we should have this available but in improved form: generic over fmt::Write. Same with reading and iterators.

@tcharding
Copy link
Member Author

Am I understanding you correctly, you are happy to remove this now but I should raise an issue to re-implement it in the hex crate generic over fmt::Write?

@Kixunil
Copy link
Collaborator
Kixunil commented Jan 23, 2023

Exactly.

@tcharding
Copy link
Member Author

Done, thanks.

Copy link
Member
@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK e079524

@apoelstra apoelstra merged commit 2a052ac into rust-bitcoin:master Jan 24, 2023
@tcharding tcharding deleted the 01-22-rm-hex-writer branch January 31, 2023 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API break This PR requires a version bump for the next release P-high High priority trivial Obvious, easy and quick to review (few lines or doc-only...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0