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

Make the various hash function crates optional? #6

Open
vdods opened this issue Aug 18, 2023 · 0 comments
Open

Make the various hash function crates optional? #6

vdods opened this issue Aug 18, 2023 · 0 comments

Comments

@vdods
Copy link

vdods commented Aug 18, 2023

In the SAID spec I only see reference to BLAKE3, and using that hash function seems to be the only behavior when calling SAD::compute_digest (my attempts to specify a different hash function in SelfAddressingIdentifier::new don't seem to produce the desired effect).

Would it be possible to make the various hash functions besides blake3 optional, so that dependencies can be minimized?

Maybe do the same with serde_json, serde_cbor, rmp-serde if that's possible?

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

No branches or pull requests

1 participant