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/enum_unit_variants.rs
expression: version2
---
"eb28d7ef234301a3371720ea0d790df1a9c4363a"