Actix web is a small, pragmatic, and extremely fast rust web framework
[](https://travis-ci.org/actix/actix-web) [](https://codecov.io/gh/actix/actix-web) [](https://crates.io/crates/actix-web) [](https://gitter.im/actix/actix?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [](https://docs.rs/actix-web) [](https://crates.io/crates/actix-web) [](https://blog.rust-lang.org/2019/12/19/Rust-1.40.0.html) 
Actix web is a simple, pragmatic and extremely fast web framework for Rust.
Dependencies:
toml
[dependencies]
actix-web = "2"
actix-rt = "1"
Code:
```rust use actix_web::{get, web, App, HttpServer, Responder};
async fn index(info: web::Path<(u32, String)>) -> impl Responder { format!("Hello {}! id:{}", info.1, info.0) }
async fn main() -> std::io::Result<()> { HttpServer::new(|| App::new().service(index)) .bind("127.0.0.1:8080")? .run() .await } ```
You may consider checking out this directory for more examples.
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.