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: version
---
"06d945942aa26a61be18c3e22bf19bbca8dd2b5d"