maghoff / bart

A compile time templating language for Rust inspired by Mustache
https://crates.io/crates/bart
MIT License
37 stars 7 forks source link

Update syn and update to edition 2021 #27

Closed jminer closed 1 year ago

jminer commented 1 year ago

I updated Syn, and I made some changes updating the code for new compiler versions. I ran the tests, and they still passed.

The most important change is updating Syn to 0.11 because 0.10.5 is yanked. I tried to use Bart in a new project, and Cargo kept telling me resolution failed without telling me why. It took me a while to figure out that the reason is that Syn 0.10.5 has been yanked. AFAIK, it makes it impossible to use Bart from crates.io in a new project, unless I could figure out how to manually edit Cargo.lock.

Could you release a new version with the Syn update?

Thanks for making Bart!

maghoff commented 1 year ago

Excellent stuff, thanks!

I merged this, made some further updates to this ageing code base, and published v0.1.6. I'm happy to hear that you're enjoying Bart :)