Volga
Fast, async-first web framework for Rust built on tokio + hyper.
Productive by default
Minimal setup, clear routing, and an ergonomic handler API that keeps your focus on the business logic.
Batteries included
Built-in DI, rate limiting, middleware, tracing, CORS, static files, and more.
Type-safe extractors
Read JSON, query params, headers, cookies, or files with composable, strongly typed extractors.
Build APIs that scale with confidence
Volga ships with performance-friendly primitives and modern developer ergonomics. From routing to middleware and advanced infrastructure features, you can scale from a single endpoint to a full microservice surface without rewriting core pieces.
Examples that hook developers fast
Deserialize request data directly into typed handler arguments. No manual parsing — Volga maps JSON, query params, headers, and more automatically.
use volga::{App, Json, ok};
use serde::Deserialize;
#[derive(Deserialize)]
struct User {
name: String,
age: i32,
}
#[tokio::main]
async fn main() -> std::io::Result<()> {
let mut app = App::new();
app.map_post("/hello", |user: Json<User>| async move {
ok!("Hello {}!", user.name)
});
app.run().await
}