You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After #4356, the combined hashsum binary will no longer be necessary. Still, all the hashing utilities will be based on hashsum, so my suggestion is to refactor the hashsum crate so that it defines multiple binaries, each with their own main function. We can then remove the multi-call logic and simplify the code, because the Digest type for each binary will be statically defined.
The text was updated successfully, but these errors were encountered:
I have changed my mind a bit. hashsum is still unnecessary and we need to remove it. cksum will first need to get feature parity and then we can start changing things up.
So here's my plan:
Update cksum a bit to become a bit of a better version of the current hashsum.
I want to extract the uucore::sum module to a crate multisum. The idea of this crate is to provide a common interface to many summing algorithms, which might be helpful for other projects too.
Create a module for the common functionality based on the updated cksum in a subdirectory of uu.
After #4356, the combined
hashsum
binary will no longer be necessary. Still, all the hashing utilities will be based onhashsum
, so my suggestion is to refactor thehashsum
crate so that it defines multiple binaries, each with their ownmain
function. We can then remove the multi-call logic and simplify the code, because theDigest
type for each binary will be statically defined.The text was updated successfully, but these errors were encountered: