Ppx_hash is a ppx rewriter that generates hash functions from type expressions and definitions.
Ppx_hash