| Crates.io | volga |
| lib.rs | volga |
| version | 0.8.1 |
| created_at | 2024-10-03 17:08:04.914343+00 |
| updated_at | 2026-01-25 10:54:54.273285+00 |
| description | Easy & Fast Web Framework for Rust |
| homepage | https://romanemreis.github.io/volga-docs |
| repository | https://github.com/RomanEmreis/volga |
| max_upload_size | |
| id | 1395421 |
| size | 1,303,960 |
Fast, simple, and high-performance web framework for Rust, built on top of Tokio and hyper.
Volga is designed to make building HTTP services straightforward and explicit, while keeping performance predictable and overhead minimal.
💡 Status: Volga is currently in preview.
The public API may change while core abstractions are being finalized.
Tutorial | API Docs | Examples | Roadmap
Volga focuses on clarity and control without sacrificing performance.
It avoids hidden behavior and framework-driven magic. Macros are used sparingly and primarily to reduce boilerplate. Handlers, middleware, and routing behave exactly as they look in code.
Volga is a good fit if you:
[dependencies]
volga = "0.8.1"
tokio = { version = "1", features = ["full"] }
use volga::{App, ok};
#[tokio::main]
async fn main() -> std::io::Result<()> {
let mut app = App::new();
app.map_get("/hello/{name}", async |name: String| {
ok!("Hello {name}!")
});
app.run().await
}
This example demonstrates:
More advanced examples (middleware, DI, auth, rate limiting) can be found in the documentation and here.
Tested on a single instance with 4 threads and 500 concurrent connections:
OS: Arch Linux
CPU: Intel i7-8665U (8) @ 4.800GHz
RAM: 31686MiB
Running 10s test @ http://127.0.0.1:7878/hello
4 threads and 500 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 1.39ms 1.05ms 18.45ms 81.47%
Req/Sec 89.69k 18.07k 126.91k 57.50%
3575551 requests in 10.07s, 395.55MB read
Requests/sec: 355053.82
Transfer/sec: 39.28MB
⚠️ Benchmark results are provided for reference only. Actual performance depends on workload, middleware, and handler logic.
Volga is licensed under the MIT License. Contributions welcome!