How Not To Write A Web Service in Rust

fd93@programming.dev to Programming@programming.dev – 66 points –
How Not To Write A Web Service in Rust
fd93.me

Wrote an article about my extended skill issues and failures at writing Rust for the web. Luckily managed to get back on track recently.

2

Nice article! I’m a fan of the “don’t optimise early” mantra, which seems particularly relevant here regarding clone

Definitely don't use axum, which provides a simple interface for routes by using derived traits. Their release cycle is way shorter, which makes them more dangerous, and they're part of the same github user as tokio, which means they're shilling their own product.

this but (semi)-unironucally