Skip to content

Conversation

@russellbanks
Copy link

@russellbanks russellbanks commented Dec 13, 2023

This pull request updates the hashing crates to 0.10. I would have done this as separate pull requests for each one but as we use the same Digest import from the MD5 crate, they all need to depend on the same major Digest version.

This uses Hasher::digest which internally calls does the new, update and finalize. to_vec is also used rather than cloning the items of an iterator.

This replaces the deprecated sha-1 with the sha1 crate instead.

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.

1 participant