Registry / web-framework / actix-web

actix-web

JSON →
library4.12.1rscratesunverified

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

web-frameworkasync
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

use actix_web::App;

Create a simple HTTP server with Actix Web.

use actix_web::{web, App, HttpServer, Responder}; async fn hello() -> impl Responder { "Hello, World!" } #[actix_web::main] async fn main() -> std::io::Result<()> { HttpServer::new(|| { App::new().route("/", web::get().to(hello)) }) .bind(("127.0.0.1", 8080))? .run() .await }
Debug
Known footguns
gotchaUses its own runtime (actix-rt) which may conflict with Tokio
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
24 hits · last 30 days
gptbot
3
amazonbot
3
bytedance
3
claudebot
3
mj12bot
1
Resources