martin-g commented on PR #1631:
URL: https://github.com/apache/avro/pull/1631#issuecomment-1095569243

   > While reading about procedure macros I found 
https://crates.io/crates/darling. I have the feeling it may simplify our derive 
functionality.
   
   I've just pushed 
https://github.com/apache/avro/pull/1631/commits/ff751500db3475170c8f10a946ced67088a648cc
 - it uses Darling to parse the derive attributes.
   I didn't manage to pass the `avro_attrs.doc` to the `quote!()` that 
generates the TokenStream for the Schema :-/ `doc: #doc` didn't work.
   
   Feel free to revert this commit if you don't like it for any reason!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to