8000 Export all hash types by tcharding · Pull Request #1988 · rust-bitcoin/rust-bitcoin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Export all hash types #1988

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

Conversation

tcharding
Copy link
Member

During the 0.30.0 release we removed the re-exports of hash types. This upset some folk and since the aim of our re-exports is not exactly clean as well as the fact that the public API surface is not yet fixed just re-export all the hash types at the crate root again.

This is #1792 but does not use a wildcard and also grabs the other hashes that we recently moved.

@tcharding
Copy link
Member Author

cc @stevenroose because I closed #1792 and re-did it here.

@apoelstra
Copy link
Member

So we don't forget it, in the other thread, @Kixunil registered a concept NACK on this on the basis that it would clutter the documentation. I pushed back on this but I don't believe we came to an agreement.

For my part, I think these should exist and don't perceive very much documentation clutter in a long list of "Re-exports" which have their own section and are visually distinct from real things. I'm happy to bring them back for now, and we can discuss this again in the future. Including considering doing hacky things like doc(hidden)ing some re-exports.

apoelstra
apoelstra previously approved these changes Aug 11, 2023
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 3a0b631db9c0e7089af0a47a5a4db490cb833d90

@tcharding
Copy link
Member Author

Yes I think we should accept that we have not got the re-exports (and the public API surface) exactly as we want it and don't know exactly what that is yet - we should not break downstream with half thought out changes. (That was all me by the way.)

During the 0.30.0 release we removed the re-exports of hash types. This
upset some folk and since the aim of our re-exports is not exactly clean
as well as the fact that the public API surface is not yet fixed just
re-export all the hash types at the crate root again.

This is 1792 but does not use a wildcard and also grabs the other
hashes that we recently moved.
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 7bbdd9b

8000
@tcharding
Copy link
Member Author

This PR is a candidate for bikeshedding but at its core is super trivial. IMO it qualifies for the one-ack carve-out, if no one comments or nacks please consider for merge after the 25th of August.

@tcharding tcharding added P-high High priority one ack PRs that have one ACK, so one more can progress them labels Aug 21, 2023
Copy link
Member
@sanket1729 sanket1729 left a comment

Choose a reason for hiding this comment

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

ACK 7bbdd9b

@apoelstra apoelstra merged commit 9dbefc6 into rust-bitcoin:master Aug 25, 2023
@tcharding tcharding deleted the 08-11-export-all-hash-types branch May 22, 2024 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
one ack PRs that have one ACK, so one more can progress them P-high High priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0