Skip to content

Draft: Experimentally start revising tor-rpcbase to use derive_deftly.

Nick Mathewson requested to merge nickm/arti:rpc_less_undeftly into main

The current macros here use a pile of awful crud to work around limitations in macro_rules. In nearly all cases, derive_deftly makes the macro invocations simpler.

There are a few TODO issues I've found in derive_deftly while working on this:

Once this is resolved, I think I can do a better version of this, and actually replace the old macros.

Merge request reports