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
Would it be possible to implement digest::DynDigest trait so that this hasher could be used in for example HashMaps which uses HashMap<&str, Box<dyn digest::DynDigest>> where you can iterate through multiple different hashers?
The text was updated successfully, but these errors were encountered:
Sounds like a good idea to me. If we put the impl next to the Digest impl in src/traits.rs, it will be gated by the traits-preview feature automatically.
According to https://crates.io/crates/digest/reverse_dependencies this crate uses digest crate.
Would it be possible to implement
digest::DynDigest
trait so that this hasher could be used in for example HashMaps which usesHashMap<&str, Box<dyn digest::DynDigest>>
where you can iterate through multiple different hashers?The text was updated successfully, but these errors were encountered: