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
I'm currently trying to write a processor for syn AST (implementing #[cfg] handling for an attribute macro for fn items), but can't use any of Visit/VisitMut/Fold since I need a custom output type. I'm aware of syn-codegen but afaict neither syn nor syn-codegen as published on crates.io actually include syn.json, and I don't want to require internet access when building my code so can't just download syn.json whenever building...
Maybe publish a syn-data crate that depends on the matching version of syn and just provides syn.json and/or a pub const SYN_JSON: &'static str?
The text was updated successfully, but these errors were encountered:
I'm currently trying to write a processor for syn AST (implementing #[cfg] handling for an attribute macro for
fn
items), but can't use any of Visit/VisitMut/Fold since I need a custom output type. I'm aware ofsyn-codegen
but afaict neithersyn
norsyn-codegen
as published on crates.io actually includesyn.json
, and I don't want to require internet access when building my code so can't just downloadsyn.json
whenever building...Maybe publish a
syn-data
crate that depends on the matching version ofsyn
and just providessyn.json
and/or apub const SYN_JSON: &'static str
?The text was updated successfully, but these errors were encountered: