Rust actix actix-web async websockets web web-development
Need help with actix-web?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.
actix

Description

Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.

9.8K Stars 1.1K Forks Other 3.4K Commits 101 Opened issues

Services available

Need anything else?

Actix web

Actix web is a powerful, pragmatic, and extremely fast web framework for Rust

crates.io Documentation Version License Dependency Status
Build Status codecov Download Join the chat at https://gitter.im/actix/actix Chat on Discord

Features

Documentation

Example

Dependencies:

[dependencies]
actix-web = "3"

Code:

use actix_web::{get, web, App, HttpServer, Responder};

#[get("/{id}/{name}/index.html")] async fn index(web::Path((id, name)): web::Path) -> impl Responder { format!("Hello {}! id:{}", name, id) }

#[actix_web::main] async fn main() -> std::io::Result { HttpServer::new(|| App::new().service(index)) .bind("127.0.0.1:8080")? .run() .await }

More examples

You may consider checking out this directory for more examples.

Benchmarks

One of the fastest web frameworks available according to the TechEmpower Framework Benchmark.

License

This project is licensed under either of

at your option.

Code of Conduct

Contribution to the actix-web crate is organized under the terms of the Contributor Covenant, the maintainers of Actix web, promises to intervene to uphold that code of conduct.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.