const-struct-version 0.2.0

A trait plus proc-macro to generate a hash based on the fields of a struct. Useful for intelligently expiring a cache when the stored object changes.
Documentation
1
2
3
4
5
---
source: crates/const-struct-version/tests/tuple_struct.rs
expression: version
---
"559af3f916a6a7b7b8282ee38df0f9fd930375da"