# warp

> A super-easy, composable, web server framework for warp speeds.

Source: https://talira.ai/catalog/warp-4484rrwk
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Framework, Library
- Categories: [frameworks / web / backend](https://talira.ai/categories/frameworks/web/backend), [languages / rust](https://talira.ai/categories/languages/rust)
- Licence: MIT[^2][^3]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Self-hostable: yes[^4]
- API: yes[^5]
- Creator: Sean McArthur (seanmonstar)

warp is a Rust web server framework from Sean McArthur (seanmonstar), built on [hyper](https://talira.ai/catalog/hyper-aqygzthr.md). Everything in it is a `Filter`: small typed pieces that match and extract parts of a request (a path segment, a header, a query string, a JSON or form body) and combine with `and`, `or` and `map` into routes, with requests a filter doesn't match turned into rejections you can recover from. Built-in filters cover routing, headers, cookies, CORS, static files and directories, multipart forms, WebSockets, server-sent events, Brotli and gzip compression, access logs and tracing, and a test module runs mocked requests through your filters. Version 0.4 moved to hyper 1 and made the server, WebSocket, multipart, compression and test parts opt-in Cargo features, and dropped built-in TLS. It runs on [Tokio](https://talira.ai/catalog/tokio-5dcaannt.md) and is MIT-licensed; 0.4.4 came out in November 2026.

## Links

- GitHub: https://github.com/seanmonstar/warp
- Docs: https://docs.rs/warp

## Problems it solves

- build a small JSON API in Rust where routes are type-checked at compile time
- compose reusable request extractors (auth header, path params, query) and share them across Rust endpoints
- add a WebSocket endpoint to a lightweight Rust HTTP server
- push live updates to the browser with server-sent events from a Rust service
- serve a static directory and a few API routes from one Rust binary
- test my Rust HTTP handlers without binding to a real port
- parse multipart file uploads in a Rust web service
- add CORS headers and gzip or Brotli compression to a Rust API
- turn unmatched routes and bad input into custom JSON error responses in Rust
- an async Rust web server on hyper and Tokio that gets HTTP/1 and HTTP/2 for free
- log every request with timing in a minimal Rust web app

## Features

- Filter system that composes typed request requirements and extractors
- path routing and parameter extraction with the path! macro
- header, cookie, host, method and query filters
- JSON and form bodies
- multipart form data (multipart feature)
- static files and directories
- WebSockets (websocket feature)
- server-sent events
- CORS filters
- gzip, deflate and Brotli compression (compression features)
- access logging and tracing filters
- rejections and recovery for custom error replies
- test utilities that send mocked requests through filters (test feature)
- HTTP/1 and HTTP/2 through hyper
- UnixListener support through incoming(listener)

## Limitations

- Doesn't terminate TLS itself: version 0.4.0 removed the tls feature and its types[^1]

## Capabilities

- Has an API: plan not known

## Trust

Overall: 0.28 out of 1.
Signals: backing 0.20, extensibility 0.20.

- created by Sean McArthur (seanmonstar)

Warnings:

- GitHub activity not fetched yet

## Related

- Based on [hyper](https://talira.ai/catalog/hyper-aqygzthr.md)
- Works with [Tokio](https://talira.ai/catalog/tokio-5dcaannt.md)

## Alternatives

- [axum](https://talira.ai/catalog/axum-8swp74wx.md): HTTP routing and request-handling library for Rust that focuses on ergonomics and modularity
- [TrailBase](https://talira.ai/catalog/trailbase-hh4ywfy3.md): An open, sub-millisecond, single-executable Firebase alternative

## Sources

[^1]: https://github.com/seanmonstar/warp/blob/master/CHANGELOG.md (checked 20 Nov 2026)
[^2]: https://github.com/seanmonstar/warp/blob/master/LICENSE (checked 20 Nov 2026)
[^3]: https://crates.io/crates/warp (checked 20 Nov 2026)
[^4]: https://github.com/seanmonstar/warp (checked 20 Nov 2026)
[^5]: https://docs.rs/warp (checked 20 Nov 2026)
