actix-web

by actix

actix /actix-web

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

9.3K Stars 1.1K Forks Last release: 7 days ago (web-v3.0.2) Other 3.3K Commits 236 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Actix web

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

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

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.