#http-middleware #cross-platform #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.

642 stable releases

Uses new Rust 2024

new 17.3.2 Feb 15, 2026
16.4.0 Feb 15, 2026
15.0.1 Feb 13, 2026
14.1.3 Feb 8, 2026
0.5.0 Dec 24, 2024

#1315 in Network programming

Download history 82/week @ 2025-10-27 15/week @ 2025-11-03 3/week @ 2025-11-10 2/week @ 2025-11-17 48/week @ 2025-11-24 19/week @ 2025-12-01 62/week @ 2025-12-08 14/week @ 2025-12-15 42/week @ 2025-12-22 49/week @ 2025-12-29 162/week @ 2026-01-05 27/week @ 2026-01-12 145/week @ 2026-01-19 123/week @ 2026-01-26 227/week @ 2026-02-02 69/week @ 2026-02-09

572 downloads per month
Used in 13 crates (12 directly)

MIT license

150KB
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

~20MB
~470K SLoC