{"id":57179,"library":"actix-web","title":"Actix Web","description":"Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.","status":"active","version":"4.12.1","language":"rust","source_language":null,"source_url":"https://github.com/actix/actix-web","tags":["web","http","async","framework","fast"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nactix-web = \"4.12.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add actix-web","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"App","correct":"use actix_web::App;"}],"quickstart":{"code":"use actix_web::{web, App, HttpServer, Responder};\n\nasync fn hello() -> impl Responder {\n    \"Hello, World!\"\n}\n\n#[actix_web::main]\nasync fn main() -> std::io::Result<()> {\n    HttpServer::new(|| {\n        App::new().route(\"/\", web::get().to(hello))\n    })\n    .bind((\"127.0.0.1\", 8080))?\n    .run()\n    .await\n}","lang":"rust","description":"Create a simple HTTP server with Actix Web."},"warnings":[{"fix":"Use #[actix_web::main] instead of #[tokio::main] and avoid mixing runtimes","message":"Uses its own runtime (actix-rt) which may conflict with Tokio","severity":"gotcha","affected_versions":">=4.0.0"}],"env_vars":null,"search_vec":"'actix':1,3 'async':18 'extrem':10 'fast':11,20 'framework':13,19 'http':17 'power':7 'pragmat':8 'rust':15 'web':2,4,12,16","created_at":"2026-06-16T15:31:25.894223+00:00","updated_at":"2026-06-16T15:31:25.894223+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://actix.rs","github":"https://github.com/actix/actix-web","docs":"https://docs.rs/actix-web/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework","async"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}