Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

warp

> 编程语言
Open source

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

66.2K stars0 likes1 views
WebsiteGitHub

About

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

warp

Discord chat

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

The fundamental building block of warp is the Filter: they can be combined and composed to express rich requirements on requests.

Thanks to its Filter system, warp provides these out of the box:

  • Path routing and parameter extraction
  • Header requirements and extraction
  • Query string deserialization
  • JSON and Form bodies
  • Multipart form data
  • Static Files and Directories
  • Websockets
  • Access logging
  • Gzip, Deflate, and Brotli compression

Since it builds on top of hyper, you automatically get:

  • HTTP/1
  • HTTP/2
  • Asynchronous
  • One of the fastest HTTP implementations
  • Tested and correct

Example

Add warp and Tokio to your dependencies:

toml
tokio = { version = "1", features = ["full"] }
warp = { version = "0.4", features = ["server"] }

And then get started in your main.rs:

rust
use warp::Filter;

#[tokio::main]
async fn main() {
    // GET /hello/warp => 200 OK with body "Hello, warp!"
    let hello = warp::path!("hello" / String)
        .map(|name| format!("Hello, {}!", name));

    warp::serve(hello)
        .run(([127, 0, 0, 1], 3030))
        .await;
}

For more information you can check the docs or the examples.

Issues· 233 open

View all issuesOpen on GitHub
  • #62

    Add Authorization header filters

    featureUpdated May 9, 2026
  • #1161

    `body::stream` too existential to find itself

    bugUpdated May 6, 2026
  • #1153

    Relax `Sync` requirements on `Body` type

    featureUpdated Mar 17, 2026
  • #1146

    server: make the Accept trait public

    featureUpdated Oct 27, 2025
  • #1143

    Conditional Routing

    featureUpdated Oct 17, 2025
  • #1140

    `warp::body::content_length_limit` rejects requests without `Content-Length` and `Transfer-Encoding`

    bugUpdated Sep 26, 2025
  • #1139

    Can't spawn with statically borrowed data anymore

    bugUpdated Sep 25, 2025
  • #451

    Unreasonably hard to recover internal errors from Rejection.

    Updated Sep 10, 2025
  • #1130

    implementation of `Reply` is not general enough

    bugUpdated Aug 24, 2025
  • #1119

    warp by examples book

    featureUpdated Apr 15, 2025

> Tags

Rustframeworkhttprustserver

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedDec 2, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言