actix-web

Actix web is a small, pragmatic, and extremely fast rust web framework.

Github stars Tracking Chart

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

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

Example

Dependencies:

[dependencies]
actix-web = "2"
actix-rt = "1"

Code:

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

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

#[actix_rt::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

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 maintainer of actix-web, @fafhrd91, promises to
intervene to uphold that code of conduct.

Main metrics

Overview
Name With Owneractix/actix-web
Primary LanguageRust
Program languageRust (Language Count: 4)
Platform
License:Apache License 2.0
所有者活动
Created At2017-09-30 15:30:02
Pushed At2025-04-22 01:12:24
Last Commit At2025-04-22 01:46:43
Release Count492
Last Release Nameweb-v4.10.2 (Posted on )
First Release Namev0.2.0 (Posted on )
用户参与
Stargazers Count22.8k
Watchers Count236
Fork Count1.7k
Commits Count4.7k
Has Issues Enabled
Issues Count1602
Issue Open Count180
Pull Requests Count1243
Pull Requests Open Count61
Pull Requests Close Count260
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private