hyperlane-core 22.13.0

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.
Documentation

hyperlane-core

Multi-Protocol Async HTTP Server Core

crates.io docs.rs Rust 2024 License: MIT

Workspace Overview · API Docs · Agent Engineering Rules


Overview

Tokio-based HTTP/1.x, HTTP/2 (h2c/h2), and HTTP/3 (QUIC) server engine with radix routing, Context, ServerHook lifecycle, and Linux io_uring transport.

This crate is a member of the hyperlane unified Rust 2024 workspace. All plugin crates are opt-in and transparent (Status::Continue) when unconfigured.

Responsibilities & Module Layout

  • server / route / hook / context / config / error — Public server API and lifecycle traits
  • listener / protocol / tls (pub(crate)) — Internal wire framers, connection pumps, and transport engines

Installation

cargo add hyperlane-core

Verification

Run crate-scoped formatting, lint, and test gates from the workspace root:

cargo run -p hyperlane-cli -- fmt --check
cargo clippy -p hyperlane-core --all-features --all-targets -- -D warnings
cargo test -p hyperlane-core --all-features

Documentation & Governance

License

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

Contact

For inquiries, please contact the author at root@devhub.vip.