Page MenuHomePhabricator

[shared][rust] Add proc-macro to deserialize tagged enum variants
ClosedPublic

Authored by bartek on Jul 28 2024, 7:12 AM.
Tags
None
Referenced Files
F3002934: D12901.id42885.diff
Fri, Oct 18, 9:23 AM
F3002355: D12901.id42847.diff
Fri, Oct 18, 7:37 AM
Unknown Object (File)
Mon, Oct 14, 3:04 PM
Unknown Object (File)
Sun, Oct 6, 7:14 PM
Unknown Object (File)
Sun, Oct 6, 7:14 PM
Unknown Object (File)
Sun, Oct 6, 7:13 PM
Unknown Object (File)
Sun, Oct 6, 6:49 PM
Unknown Object (File)
Sep 11 2024, 6:07 PM
Subscribers

Details

Summary

Detailed description of why we need this: ENG-8901.

Unfortunately, proc-macros need to be defined in a separate crate (see why), so I created a util-macros crate in our Cargo workspace.

Test Plan
  • Added rustdoc usage example
  • Rust unit tests added in the next diff
  • Used and tested in in D12895
  • Rust playground - see Linear description

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable