Some small improvements to the TagAwareDeserialize macro:
- Verify if #[serde(remote = "Self", tag = "...")] is present
- Allow any serde tag, not necessarily "type"
Depends on D12902
Differential D12903
[util-macros] Improve TagAwareDeserialize to read serde attributes bartek on Jul 28 2024, 7:18 AM. Authored by Tags None Referenced Files
Details Some small improvements to the TagAwareDeserialize macro:
Depends on D12902 cargo test - Macro still works Removing e.g. tag results in IDE (rust-analyzer) error:
Diff Detail
|