The pyclass macro generates code that uses DefaultHasher from the std library. hashbrown does not include this until 0.16, but pyo3 supports it starting from 0.15.
We can either:
- drop support for
0.15
- depend directly on the
foldhash crate (this is what hashbrown uses)
The
pyclassmacro generates code that usesDefaultHasherfrom thestdlibrary.hashbrowndoes not include this until0.16, but pyo3 supports it starting from0.15.We can either:
0.15foldhashcrate (this is whathashbrownuses)