You must log in or register to comment.
If you don’t mind a quick review:
Another thing worth noting is that it’s as if the proc macro literally injects a bit of source code in-line where you call derive. This means that if you are going to refer to any structs/crates/modules etc… it makes things a lot easier to refer to them via their full path.
I since that someone doesn’t know about putting their
impl
s in a:const _: () = { }
Also, using
quote!{}
instead ofquote!()
will make your indentation life easier.anyhow
instead ofthiserror
in your API is…Otherwise, good, if very basic, write-up.
PS: How dare you post this to Reddit you Fediverse traitor 😉