-
Notifications
You must be signed in to change notification settings - Fork 89
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
Make derive macros work outside of rune
#530
Comments
From #531, what is the specific problem you're having? |
Ah, is it that the
That should cover the vast majority of uses for those derives. |
you mean to not use it? because |
Right, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Make derive macros work outside rune such as derive(Parse). To do this one can use either https://docs.rs/proc-macro-crate/latest/proc_macro_crate/ directly or a more complicated approach like here: https://github.com/khonsulabs/bonsaidb/blob/448db4d32ea065aa39b1c4731c0e5b9d5ffce83b/crates/bonsaidb-macros/src/lib.rs#L35-L61 to get more control about it.
The text was updated successfully, but these errors were encountered: