Not from a proc macro crate. If you want there to be one public facing crate, it needs to be a non proc macro crate that re-exports the macros from your proc macro crate and the other proc macro crate. Note that not all proc macros necessarily support being re-exported at all.
Can I re-export proc macros from another crate inside my own proc-macro crate? The answer appears to be "no". But the diagnostics message is hinting at "yes". So maybe I'm missing something?
-
-
-
Dang, that's unfortunate. Thanks for answering!
End of conversation
New conversation -
-
-
I feel like serde does this? Maybe check the cargo workspace for a price macro crate?
-
Thanks for the tip! -- having some trouble finding it though. cc/
@davidtolnay do you have any idea perhaps?
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.