Actix web is a small, pragmatic, extremely fast, web framework for Rust.
```rust,ignore extern crate actixweb; use actixweb::*;
fn index(req: HttpRequest) -> String { format!("Hello {}!", &req.match_info()["name"]) }
fn main() { HttpServer::new( || Application::new() .resource("/{name}", |r| r.f(index))) .bind("127.0.0.1:8080").unwrap() .run(); } ```
You may consider checking out this directory for more examples.
Some basic benchmarks could be found in this repository.
This project is licensed under either of
at your option.
Contribution to the actix-web crate is organized under the terms of the Contributor Covenant, the maintainer of actix-web, @fafhrd91, promises to intervene to uphold that code of conduct.