#cross-platform #http-middleware #tcp

hyperlane

A lightweight, high-performance, and cross-platform Rust HTTP server library built on Tokio. It simplifies modern web service development by providing built-in support for middleware, WebSocket, Server-Sent Events (SSE), and raw TCP communication. With a unified and ergonomic API across Windows, Linux, and MacOS, it enables developers to build robust, scalable, and event-driven network applications with minimal overhead and maximum flexibility.

666 stable releases

Uses new Rust 2024

new 20.0.2 Apr 9, 2026
19.1.2 Apr 8, 2026
18.4.0 Mar 27, 2026
17.3.7 Feb 27, 2026
0.5.0 Dec 24, 2024

#1250 in Network programming

Download history 11/week @ 2025-12-17 50/week @ 2025-12-24 44/week @ 2025-12-31 173/week @ 2026-01-07 21/week @ 2026-01-14 175/week @ 2026-01-21 105/week @ 2026-01-28 241/week @ 2026-02-04 50/week @ 2026-02-11 21/week @ 2026-02-18 150/week @ 2026-02-25 79/week @ 2026-03-04 61/week @ 2026-03-11 265/week @ 2026-03-18 156/week @ 2026-03-25 10/week @ 2026-04-01

499 downloads per month
Used in 14 crates (13 directly)

MIT license

155KB
2.5K SLoC

hyperlane

Official Documentation

Api Docs

A lightweight, high-performance, and cross-platform Rust HTTP server library built on Tokio. It simplifies modern web service development by providing built-in support for middleware, WebSocket, Server-Sent Events (SSE), and raw TCP communication. With a unified and ergonomic API across Windows, Linux, and MacOS, it enables developers to build robust, scalable, and event-driven network applications with minimal overhead and maximum flexibility.

Installation

To use this crate, you can run cmd:

cargo add hyperlane

Quick start

git clone https://github.com/hyperlane-dev/hyperlane-quick-start.git

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Contact

For any inquiries, please reach out to the author at root@ltpp.vip.

Dependencies

~19MB
~464K SLoC