Actix Web

A powerful, pragmatic, and extremely fast web framework for Rust

Framework
Cargo
v4.14.1
24,786stars
MIT OR Apache-2.0

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
91/100Excellent
Development Activity100
Maintenance96
Community68
Maturity60
Momentum40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
84/100Excellent
Architecture92
Code Quality90
Innovation85
Learning Curve70

Actix Web is one of the most widely used web frameworks in the Rust ecosystem, built on top of the Actix actor framework and the Tokio async runtime. It provides HTTP/1.x and HTTP/2 support, a macro-driven routing system, middleware pipeline, WebSockets, multipart streaming, and TLS integration via OpenSSL or Rustls, all wrapped in an ergonomic, type-safe API.

The framework is organized as a Cargo workspace of focused crates (actix-web, actix-http, actix-router, actix-multipart, actix-files, awc) that can be composed independently, which keeps the core lean while letting consumers opt into extras like static file serving or a matching HTTP client. It consistently ranks among the fastest web frameworks in the TechEmpower benchmarks and is a default choice for teams building high-throughput Rust APIs and services.

What You Get

  • Route handler macros (#[get], #[post], etc.) plus a fluent App/Scope/Resource builder API for URL dispatch
  • Extractors (web::Path, web::Json, web::Query, web::Data) that pull typed values out of requests with automatic error responses
  • First-class WebSockets and streaming/multipart support for real-time and file-upload workloads
  • A middleware pipeline (Logger, CORS, Session, compression) that composes across the whole application or per-scope
  • TLS termination via OpenSSL or Rustls, plus HTTP/1.x and HTTP/2 support out of the box
  • A companion HTTP client (awc) built on the same underlying HTTP stack for symmetric client/server code

Common Use Cases

  • Building REST and JSON APIs that need to sustain very high request throughput with low latency
  • Serving WebSocket-based real-time features (chat, live dashboards, notifications) alongside a regular HTTP API
  • Building microservices in Rust where predictable performance and memory safety matter more than developer velocity trade-offs
  • Static file and multipart upload serving for content or media-heavy backends

Under The Hood

Architecture — Actix Web is structured as a Cargo workspace of cooperating crates rather than a single monolithic crate: actix-http implements the low-level HTTP/1.x and HTTP/2 protocol handling and connection management, actix-router implements URL pattern matching, actix-service supplies the Service/Transform trait abstractions that both the server and middleware pipeline build on, and the top-level actix-web crate (in src/, notably app.rs, resource.rs, scope.rs, service.rs, handler.rs) assembles these into the App/HttpServer builder API developers interact with. Request handling flows from HttpServer accepting a connection, through actix-http’s codec into an actix-service Service chain (middleware wrapped around the final handler), with extract.rs responsible for converting the raw request into the typed arguments a handler function declares.

Tech Stack — Built on Tokio via actix-rt (a thin compatibility shim over Tokio’s runtime) and actix-server for connection acceptance/graceful shutdown, with actix-codec providing framed I/O. Optional features gate TLS backends (openssl, multiple rustls versions), compression codecs (brotli, gzip, zstd), and cookie/session support, keeping the dependency graph minimal for consumers who don’t need those extras. MSRV is actively tracked (Rust 1.88+ at the time of this snapshot).

Code Quality — The crate has an extensive integration test suite under actix-web/tests/ (streaming responses, error propagation, HttpServer behavior, macro edge cases) in addition to unit tests colocated with source modules, and every release is checked against cargo_check_external_types to catch accidental public-API leakage from internal crates. CI runs deny.toml-gated dependency audits and a zizmor.yml GitHub Actions security lint, reflecting an unusually rigorous supply-chain posture for the ecosystem.

API Design — The extractor pattern (web::Path<T>, web::Json<T>, web::Data<T>) is the framework’s signature ergonomic choice: handlers declare typed parameters directly in their function signature and Actix Web performs extraction, validation, and error-response generation automatically, which keeps handler bodies free of manual request-parsing boilerplate. The macro-based routing (#[get("/hello/{name}")]) further reduces ceremony compared to manually registering routes, though the workspace’s many interdependent crates (actix-http, actix-router, actix-service) mean newcomers occasionally need to dip into adjacent crate docs to fully understand a given behavior.

Used by 7 apps in this directory

Rust
41%
Other

Hook0

Devops

1,477

Open-source Webhooks-as-a-Service: deliver events to your users with auto-retry, signed payloads, and a real-time subscriber dashboard — all without building the infrastructure yourself.

View details
83
Repo Health
82
Technical
70
Dependency
Built with
Rust41%
TypeScript17%
JavaScript15%
Updated today
TypeScript
61%
EPL-2.0

Huly Platform

Project Management · Team Chat · Collaboration

27,384

Open-source all-in-one workspace that replaces Linear, Jira, Slack, and Notion for product and engineering teams.

View details
90
Repo Health
86
Technical
64
Dependency
Built with
TypeScript61%
Svelte34%
Updated 1 weeks ago
TypeScript
69%
Apache 2.0

Laminar

AI Development · Monitoring

3,180

Open-source observability platform purpose-built for AI agents — trace, evaluate, debug, and monitor at scale with SQL access and real-time replay.

View details
85
Repo Health
76
Technical
70
Dependency
Built with
TypeScript69%
Rust29%
Updated yesterday
Rust
100%
Other

Meilisearch

Search

59,012

Lightning-fast hybrid search engine with AI-powered semantic and full-text retrieval for modern applications.

View details
90
Repo Health
88
Technical
68
Dependency
Built with
Rust100%
Updated 5 days ago
Rust
43%
BSD 3

MicroBin

File Storage

4,525

A self-contained, encrypted paste bin and file-sharing app in Rust with animal-name URLs, burn-after-read, and one-command Docker deployment.

View details
56
Repo Health
67
Technical
71
Dependency
Built with
Rust43%
HTML28%
JavaScript20%
Updated 2 months ago
TypeScript
60%
MIT

Scalar

Developer Tools

15,944

Beautiful, interactive OpenAPI documentation with a built-in offline-first API client and multi-language code generation — all in one open-source platform.

View details
90
Repo Health
89
Technical
66
Dependency
Built with
TypeScript60%
Vue35%
Updated yesterday
Rust
71%
MIT

Trieve

AI Development · Search · Developer Tools

2,715

All-in-one self-hostable platform for hybrid search, RAG, recommendations, and analytics built on Rust and Qdrant.

View details
43
Repo Health
74
Technical
66
Dependency
Built with
Rust71%
Updated 6 months ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search