ralexstokes / ssz-rs

Implementation of ethereum's `ssz`
Apache License 2.0
103 stars 41 forks source link

extend `transparent` proc macro attr behavior to Serialize and Deserialize #117

Closed ralexstokes closed 1 year ago

ralexstokes commented 1 year ago

this simple does a "brute force" approach to deserializing a transparent derived type

otherwise, we would need to extend the Deserialize trait with some kind of DeserializeSeed function (following serde's approach)