Autumn 0.4.0
Rust web framework for server-rendered apps
Autumn gives Rust developers a direct path from route handler to production-ready web app: typed routing, Maud templates, static assets, health checks, and deployment defaults.
Rust
use autumn_web::prelude::*;
#[get("/")]
async fn index() -> Markup {
html! { h1 { "Hello, Autumn." } }
}
#[autumn_web::main]
async fn main() {
autumn_web::app()
.routes(routes![index])
.run()
.await;
}