This is an archive of the discontinued Mercurial Phabricator instance.

rust: Use a maintained crate for SHA-1 hashing
ClosedPublic

Authored by SimonSapin on Jun 4 2021, 5:02 AM.

Details

Summary

https://crates.io/crates/rust-crypto hasn’t been updated in 5 years.
This doesn’t neccesarily mean there’s anything wrong with it, but if
something comes up it’s preferable to rely on libraries that have active
maintainers.

Use https://crates.io/crates/sha-1 from https://github.com/RustCrypto instead

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

SimonSapin created this revision.Jun 4 2021, 5:02 AM
baymax updated this revision to Diff 28437.Jun 4 2021, 7:23 AM

✅ refresh by Heptapod after a successful CI run (🐙 💚)

Alphare accepted this revision.Jun 4 2021, 8:45 AM
This revision is now accepted and ready to land.Jun 4 2021, 8:45 AM
This revision was automatically updated to reflect the committed changes.