1.1 KiB
1.1 KiB
title | date |
---|---|
Full website Re-Update | 2024-08-29 |
New Website?
Rust
The time has come and another re-write is upon us.
This time inspied by this article, theprimeagen, and everpresent desire to rewrite everything in Rust, the new website is a complete rewrite using rust and adjacent techniques.
Using only
[dependencies]
askama = { version = "0.12.1", features = ["with-axum"] }
askama_axum = "0.4.0"
axum = "0.7.5"
comrak = "0.27.0"
markdown-parser = "0.1.2"
rand = "0.8.5"
serde = { version = "1.0.209", features = ["derive"] }
serde_yaml = "0.9.34"
tokio = { version = "1.39.3", features = ["macros", "rt-multi-thread"] }
tower-http = { version = "0.5.2", features = ["fs"] }
{
"firstName": "John",
"lastName": "Smith",
"age": 25
}
as dependancies in the end we get a clean~ish, 2.8MB executable.
All markdown compilation gets done every time page is loaded, which is sub-optimal, But reading time for all posts is non-significant compared to other loading times.
And voila, there is the new post.