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
Hi, we're currently enjoying using this crate in our project. However, we're now looking to allow users to provide their own hash algorithms which are plugged in with dynamic dispatch. The Hasher trait is intended to be implemented on ZSTs, thus has no access to runtime information.
From the look of it changing Hasher to receive &self would be a relatively large change, although it may be possible to avoid breaking changes by adding new traits and further encapsulating some of the inner functionality. I'll just start with posing this issue, what do you think? I can contribute to this effort if desired.
The text was updated successfully, but these errors were encountered:
Hi, we're currently enjoying using this crate in our project. However, we're now looking to allow users to provide their own hash algorithms which are plugged in with dynamic dispatch. The
Hasher
trait is intended to be implemented on ZSTs, thus has no access to runtime information.From the look of it changing
Hasher
to receive&self
would be a relatively large change, although it may be possible to avoid breaking changes by adding new traits and further encapsulating some of the inner functionality. I'll just start with posing this issue, what do you think? I can contribute to this effort if desired.The text was updated successfully, but these errors were encountered: