sephynox / xrpl-rust

A 100% Rust library to interact with the XRPL. XRPL Grant Winner
https://crates.io/crates/xrpl-rust
ISC License
20 stars 8 forks source link

Add deserialization for serde tagged containers #56

Closed LimpidCrypto closed 1 year ago

LimpidCrypto commented 1 year ago

High Level Overview of Change

serialize_with_tag was renamed to serde_with_tag, because it now also supports deserializing of the struct.

Context of Change

This removes the need of implementing custom deserialization of each struct that used serialize_with_tag so far. serde_with_tag now implements Serialize and Deserialize for the struct inside the macro.

Type of Change

Test plan