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
Paths
| Differential D12903 Authored by bartek on Jul 28 2024, 7:18 AM.
Details Summary Some small improvements to the TagAwareDeserialize macro:
Depends on D12902 Test Plan
Diff Detail
Event Timelinebartek held this revision as a draft. Herald added subscribers: tomek, ashoat. · View Herald TranscriptJul 28 2024, 7:18 AM2024-07-28 07:18:02 (UTC-7) bartek edited the test plan for this revision. (Show Details)Jul 28 2024, 7:28 AM2024-07-28 07:28:03 (UTC-7) Harbormaster completed remote builds in B30723: Diff 42849.Jul 28 2024, 7:33 AM2024-07-28 07:33:17 (UTC-7) bartek edited the test plan for this revision. (Show Details)Jul 28 2024, 7:39 AM2024-07-28 07:39:45 (UTC-7) Harbormaster completed remote builds in B30725: Diff 42851.Jul 28 2024, 8:10 AM2024-07-28 08:10:24 (UTC-7) This revision is now accepted and ready to land.Jul 29 2024, 2:07 AM2024-07-29 02:07:56 (UTC-7) Closed by commit rCOMMe33868cba63d: [util-macros] Improve TagAwareDeserialize to read serde attributes (authored by bartek). · Explain WhyJul 29 2024, 5:56 AM2024-07-29 05:56:17 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 42887 shared/util_macros/src/lib.rs
shared/util_macros/src/tag_aware_deserialize.rs
|