fuzzyhash-rs icon indicating copy to clipboard operation
fuzzyhash-rs copied to clipboard

impl Write for FuzzyHash

Open lolbinarycat opened this issue 7 months ago • 0 comments

most "hasher" crates (eg. sha2) make their hashers also implement Write when the std feature is enabled, so you can just io::copy from a file to the hasher.

the impl would be very simple, just forwarding write() to update()

lolbinarycat avatar Jun 05 '25 21:06 lolbinarycat