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
Unknown Object (File)
Sun, Dec 22, 8:47 PM
Unknown Object (File)
Sun, Dec 22, 8:47 PM
Unknown Object (File)
Sun, Dec 22, 8:46 PM
Unknown Object (File)
Sun, Dec 22, 8:46 PM
Unknown Object (File)
Fri, Dec 13, 5:13 PM
Unknown Object (File)
Nov 26 2024, 4:56 PM
Unknown Object (File)
Nov 26 2024, 2:45 PM
Unknown Object (File)
Nov 22 2024, 1:20 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