A now defunct web server engine that is notable for its overuse of unsafe code, the memory safety bugs caused by that, and its deletion by its creator.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
Yuki Okushi 3a5b62b550
Add dependencies instruction (#1281)
vor 1 Jahr
.github/workflows Tweak actions to use cache and not to be stuck on the way (#1264) vor 1 Jahr
actix-cors allow to specify multi pattern for resources vor 1 Jahr
actix-files Fixed documentation typo for actix-files (#1278) vor 1 Jahr
actix-framed prep actix-framed release vor 1 Jahr
actix-http Replace sha1 dependency with sha-1 (#1258) vor 1 Jahr
actix-identity Fix panic with already borrowed: BorrowMutError #1263 vor 1 Jahr
actix-multipart update actix-service dep vor 1 Jahr
actix-session allow to specify multi pattern for resources vor 1 Jahr
actix-web-actors update changes vor 1 Jahr
actix-web-codegen bump ver vor 1 Jahr
awc Rename HttpServer::start() to HttpServer::run() vor 1 Jahr
examples Rename HttpServer::start() to HttpServer::run() vor 1 Jahr
src Update doc comment for `HttpRequest::app_data` (#1265) vor 1 Jahr
test-server update timeouts for test server vor 1 Jahr
tests Rename HttpServer::start() to HttpServer::run() vor 1 Jahr
.appveyor.yml update deps vor 2 Jahren
.gitignore start working on guide vor 3 Jahren
.travis.yml use actix_rt::test for test setup vor 1 Jahr
CHANGES.md Replace sha1 dependency with sha-1 (#1258) vor 1 Jahr
CODE_OF_CONDUCT.md code of conduct vor 3 Jahren
Cargo.toml add extra constraints vor 1 Jahr
LICENSE-APACHE add mit license vor 3 Jahren
LICENSE-MIT spelling check vor 3 Jahren
MIGRATION.md Changes to Cors builder (#1266) vor 1 Jahr
README.md Add dependencies instruction (#1281) vor 1 Jahr
rustfmt.toml copy actix-web2 vor 2 Jahren

README.md

Actix web

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

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

Website | Chat | Examples


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.