actix-web

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

Github星跟踪图

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.

主要指标

概览
名称与所有者actix/actix-web
主编程语言Rust
编程语言Rust (语言数: 4)
平台
许可证Apache License 2.0
所有者活动
创建于2017-09-30 15:30:02
推送于2025-05-19 14:54:06
最后一次提交2025-05-19 14:37:15
发布数495
最新版本名称web-v4.11.0 (发布于 )
第一版名称v0.2.0 (发布于 )
用户参与
星数22.9k
关注者数235
派生数1.7k
提交数4.7k
已启用问题?
问题数1610
打开的问题数185
拉请求数1262
打开的拉请求数52
关闭的拉请求数265
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?