You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, many thanks to this crate and appreciate your works, but I wonder is there anyway to build this crate in a macro way like crate structopt did, that would be convenient for us to convert a struct between Rust and JS.
The text was updated successfully, but these errors were encountered:
This is a neat idea and something that's been requested a few times.
It's been implemented via serde in a community module neon-serde2. I think using serde is the right approach for converting types, but I think functions and classes could benefit from proc macros like in this proposal.
I hope that answers your question. Let me know if there's anything else I can help with!
Hi,
First of all, many thanks to this crate and appreciate your works, but I wonder is there anyway to build this crate in a macro way like crate structopt did, that would be convenient for us to convert a struct between Rust and JS.
The text was updated successfully, but these errors were encountered: