-
-
Notifications
You must be signed in to change notification settings - Fork 857
Closed
Description
I'm writing a derive macro for a trait that requires Deserialize
, and writing implementations by hand is very tedious. It would be useful if Serde could provide a non-proc macro crate with the same functionality as the proc macro crate, so I can simply invoke all of Serde's derive logic from a proc macro.
It could be called serde_derive2
or something, and it would expose the implementation of the derive functions as functions that use proc_macro2
types (maybe it could also support different names for the serde
attribute). Like what currently goes on with serde_derive_internals
it can be a module of serde_derive
as well as an external crate.
If this is a good idea I'm happy to make a PR for it.
Metadata
Metadata
Assignees
Labels
No labels