xml-rpc-rs icon indicating copy to clipboard operation
xml-rpc-rs copied to clipboard

xmlrpc proc-macro

Open fungos opened this issue 4 years ago • 1 comments

Hello, not really an issue, but this may be of interest to users of this crate.

I've written a quick proof-of-concept proc-macro helper, which let us define remote rpc methods as rust trait methods. This is very helpful to make sure we call the right arguments in the right order thus taking advantage of type checking on rpc calls.

The repository is here, this is my first time writing a proc-macro, but it shows potential for improving and making safer APIs.

https://github.com/fungos/xmlrpc-proc

fungos avatar Jun 24 '20 22:06 fungos