-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proc macro based version #13
Comments
I would love to. I haven't been following |
Yes, it does. |
Rust 1.30 (including proc macro) is released now. |
I was having some issues with rust complaining that it couldn't figure out what type to use for return values with the regular macro so I decided to give this a shot. Here's the list of attributes that I'm working on (all of these are optional)
I'm using darling for the attributes parsing and it doesn't implement parsing I should have the unwrap attribute implemented on Friday or Saturday. Edit: I realized that having one attribute for both result and option wouldn't work since it would have to be based on parsing out the return type name and the user could have aliased the result/option type or be using their own. I changed it to be separate result/option attributes. |
I finished with this set of attributes, now I'm going fork and add as a subcrate. |
Do you have a plan to rebuild the macros based on the proc_macro?
Those are sweeter.
The text was updated successfully, but these errors were encountered: