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/nested_struct.rs
expression: version
---
"3ff39bc1fd9392b4481054a278d631b9f990171f"