HTTP ยท WebSocket ยท SSE ยท gRPC ยท HTTP/3 ยท TCP/UDP

๐Ÿ™ tako

A pragmatic, ergonomic, multi-transport Rust framework for modern network services. Build one cohesive application across HTTP/1.1, HTTP/2, HTTP/3, WebSocket, SSE, gRPC, TCP, UDP, Unix sockets, and WebTransport โ€” with a single routing, middleware, and observability model, on Tokio or Compio.

Multi-transport by design

HTTP/1.1, HTTP/2, HTTP/3 (QUIC), WebSocket, WebTransport, SSE, gRPC, raw TCP / UDP, Unix sockets, and PROXY protocol โ€” all behind one Router and one middleware stack.

Two runtimes, one model

The same framework style on Tokio or Compio, including TLS and HTTP/2 on both sides where supported. Pick the runtime that fits the deployment, keep the code.

Typed extraction

22+ extractors for JSON (with optional SIMD), form, query, path, headers, cookies, JWT claims, API keys, Accept, Range, protobuf, and multipart. NumPy-free, just Rust types in and out.

Middleware & auth included

JWT / Basic / Bearer / API-key auth, CSRF, sessions, security headers, request IDs, body limits, rate limiting, CORS, idempotency, and compression โ€” part of the framework, not glue.

Realtime-ready

Streaming responses, SSE, WebSockets, GraphQL subscriptions, HTTP/3, and WebTransport under one crate. Background queue, in-process signals, and graceful shutdown ship in the box.

Performance paths

SIMD JSON (sonic-rs / simd-json), optional zero-copy extractors, brotli / gzip / deflate / zstd compression, and jemalloc support โ€” without fragmenting the API.