Skip to content
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: Support generic hashers in UcanBuilder and ProofChain. #89

Merged
merged 1 commit into from
May 26, 2023

Conversation

jsantell
Copy link
Contributor

This allows bringing your own hashing when building Ucans and proof chains. Fixes #88.

We could potentially make this generic around MultihashDigest, though this seems to be going away in the future.

Copy link
Member

@cdata cdata left a comment

Choose a reason for hiding this comment

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

Looks awesome, just one opinion about the configuration style. I'm open to your thoughts on the topic!

ucan/src/tests/builder.rs Outdated Show resolved Hide resolved
Copy link
Member

@cdata cdata left a comment

Choose a reason for hiding this comment

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

Sweet!!

@cdata
Copy link
Member

cdata commented May 26, 2023

Looks like maybe a small conflict to resolve now 😩

@jsantell
Copy link
Contributor Author

Looks like maybe a small conflict to resolve now weary

Thank you! Rebased on main

@cdata cdata merged commit e057f87 into ucan-wg:main May 26, 2023
@github-actions github-actions bot mentioned this pull request May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support generic hashes
2 participants