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 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.
The text was updated successfully, but these errors were encountered:
We depend on Syntex for three things:
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.
The text was updated successfully, but these errors were encountered: