H2CO3 / parsel

Generate parsers directly from AST node types
74 stars 2 forks source link

Update to use `syn` v2.0.0 #2

Closed bravely-beep closed 1 year ago

bravely-beep commented 1 year ago

Since syn v2.0.0 has released, many common crates in the rust ecosystem have switched over to use the new version. This results in syn being compiled twice in some of my projects, parsel is building syn v1 while my other dependencies are building v2. syn isn't the fastest crate to compile, so updating to v2 would be beneficial.

H2CO3 commented 1 year ago

Certainly, will do!

H2CO3 commented 1 year ago

This was easier than expected. Parsel v0.12.0 is now released, and uses syn 2.0 for parsing primitives and deluxe (instead of darling) for its own attribute parsing.