Static site generator + my presonnal website written in rust for some reason.
1--- 2title: Full website Re-Update 3date: 2024-08-29 4--- 5## New Website? 6 7### Rust 8 9The time has come and another re-write is upon us. 10 11This time inspied by [this article](https://blog.transrights.art/blogs/2024_Screw-Frameworks-New-Site-2), 12[theprimeagen](https://www.youtube.com/watch?v=rcZSOLAI1lM), and everpresent desire to rewrite everything in Rust, 13the new website is a complete rewrite using rust and adjacent techniques. 14 15Using only 16``` 17[dependencies] 18askama = { version = "0.12.1", features = ["with-axum"] } 19askama_axum = "0.4.0" 20axum = "0.7.5" 21comrak = "0.27.0" 22markdown-parser = "0.1.2" 23rand = "0.8.5" 24serde = { version = "1.0.209", features = ["derive"] } 25serde_yaml = "0.9.34" 26tokio = { version = "1.39.3", features = ["macros", "rt-multi-thread"] } 27tower-http = { version = "0.5.2", features = ["fs"] } 28``` 29 30as dependancies in the end we get a clean~ish, 2.8MB executable. 31 32All markdown compilation gets done every time page is loaded, which is sub-optimal, 33But reading time for all posts is non-significant compared to other loading times. 34 35And voila, there is the new post. 36