> As of July 2020, I’d suggest picking actix-web if you are writing a production API in Rust.
What about server rendered websites that aren't API? Which framework would you recommend in this case?
What about server rendered websites that aren't API? Which framework would you recommend in this case?
I'm on the 0.4 branch, which isn't the 0.5 async branch, so I'm blocking on db calls and such, but I'm targeting very low qps so I don't care.
I got the diesel database integration working with little fuss, and can guard requests
#[get("/me")]
fn get(user: &User) {
// Logged in view
}
#[get("/me")]
fn get() {
// Logged out view
}