You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my procedural macro, I need several crates that further depends on procedural macro. For example:
#[derive(serde::Deserialize)]structConfig{
...
}use proc_macro2::TokenStream;#[no_mangle]pubextern"C"fnthe_macro(input:TokenStream) -> TokenStream{/* use struct Config to help manipulating TokenStream */}
In my procedural macro, I need several crates that further depends on procedural macro. For example:
and in my
Cargo.toml
I have:When I compile, I get:
The text was updated successfully, but these errors were encountered: