stadust / pointercrate

Rewrite of the https://pointercrate.com backend in Rust
MIT License
73 stars 46 forks source link

Upgrade to Rust edition 2021 #103

Closed stadust closed 3 months ago

stadust commented 3 months ago

Pointercrate, being written in 2019 or so, is still using rust edition 2018. We should upgrade to edition 2021, which is the newest available. In addition to changing the edition entry in the root level Cargo.toml, a lot of the HTML templating code will need some fixes applied, as in edition 2021 we need to insert spaces before all # (of which there are ... a lot), see also https://maud.lambda.xyz/elements-attributes.html#classes-and-ids-foo-bar.