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-04-22 01:12:24
最后一次提交2025-04-22 01:46:43
發布數492
最新版本名稱web-v4.10.2 (發布於 )
第一版名稱v0.2.0 (發布於 )
用户参与
星數22.8k
關注者數236
派生數1.7k
提交數4.7k
已啟用問題?
問題數1602
打開的問題數180
拉請求數1243
打開的拉請求數61
關閉的拉請求數260
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?