Export proc macro and decarative macro in one crate

Hey my fellows
today the problem statment is exporting both proc and declarative macro in single crate

that's not supported. procedural macros must be in a separate crate. but from the declarative macro crate, you can re-export a proc-macro defined in other crates.

1 Like