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.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Yuki Okushi 3a5b62b550
Add dependencies instruction (#1281)
pirms 6 mēnešiem
.github/workflows Tweak actions to use cache and not to be stuck on the way (#1264) pirms 7 mēnešiem
actix-cors allow to specify multi pattern for resources pirms 7 mēnešiem
actix-files Fixed documentation typo for actix-files (#1278) pirms 6 mēnešiem
actix-framed prep actix-framed release pirms 7 mēnešiem
actix-http Replace sha1 dependency with sha-1 (#1258) pirms 7 mēnešiem
actix-identity Fix panic with already borrowed: BorrowMutError #1263 pirms 7 mēnešiem
actix-multipart update actix-service dep pirms 7 mēnešiem
actix-session allow to specify multi pattern for resources pirms 7 mēnešiem
actix-web-actors update changes pirms 7 mēnešiem
actix-web-codegen bump ver pirms 7 mēnešiem
awc Rename HttpServer::start() to HttpServer::run() pirms 7 mēnešiem
examples Rename HttpServer::start() to HttpServer::run() pirms 7 mēnešiem
src Update doc comment for `HttpRequest::app_data` (#1265) pirms 7 mēnešiem
test-server update timeouts for test server pirms 7 mēnešiem
tests Rename HttpServer::start() to HttpServer::run() pirms 7 mēnešiem
.appveyor.yml update deps pirms 1 gada
.gitignore start working on guide pirms 2 gadiem
.travis.yml use actix_rt::test for test setup pirms 8 mēnešiem
CHANGES.md Replace sha1 dependency with sha-1 (#1258) pirms 7 mēnešiem
CODE_OF_CONDUCT.md code of conduct pirms 2 gadiem
Cargo.toml add extra constraints pirms 7 mēnešiem
LICENSE-APACHE add mit license pirms 2 gadiem
LICENSE-MIT spelling check pirms 2 gadiem
MIGRATION.md Changes to Cors builder (#1266) pirms 7 mēnešiem
README.md Add dependencies instruction (#1281) pirms 6 mēnešiem
rustfmt.toml copy actix-web2 pirms 1 gada

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.