-
-
Notifications
You must be signed in to change notification settings - Fork 849
Closed
Labels
Description
We depend on Syntex for three things:
- parsing
- quasi
- aster
I wrote a Rust parser https://github.com/dtolnay/syn and quasi-quoter https://github.com/dtolnay/quote which together build in 8.1 seconds (including all their dependencies). Syntex (including quasi and aster and dependencies) builds in 65 seconds so it is a decent improvement.
I am going to start porting serde_codegen over to these. For now serde_codegen will still need Syntex as a shim but serde_derive can disable it with a feature flag and use the new approach directly.
This will eliminate the biggest advantage of serde_macros over serde_derive - compile time. Once serde_derive is off of Syntex I propose that we stop supporting serde_macros.
Mark-Simulacrum, dashed, oli-obk, White-Oak, matthewkmayer and 2 more