尤雨东 da8b3dd357 Upgrade hyperlane (#10191) il y a 5 jours
..
src da8b3dd357 Upgrade hyperlane (#10191) il y a 5 jours
.gitignore a9f7dcd9f5 Fix bad benchmark_config.json in frameworks (#10023) il y a 2 mois
Cargo.lock da8b3dd357 Upgrade hyperlane (#10191) il y a 5 jours
Cargo.toml da8b3dd357 Upgrade hyperlane (#10191) il y a 5 jours
README.md a9f7dcd9f5 Fix bad benchmark_config.json in frameworks (#10023) il y a 2 mois
benchmark_config.json a9f7dcd9f5 Fix bad benchmark_config.json in frameworks (#10023) il y a 2 mois
config.toml bcfee4a6ed Upgrade hyperlane (#9920) il y a 5 mois
hyperlane.default.dockerfile 073ad61f55 Upgrade hyperlane v9.4.4 (#10112) il y a 1 mois

README.md

hyperlane web framework

Description

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.

Database

PostgreSQL.

Test URLs

Test 1: JSON Encoding

http://localhost:8080/json

Test 2: Single Row Query

http://localhost:8080/db

Test 3: Multi Row Query

http://localhost:8080/query?q=20

Test 4: Fortunes (Template rendering)

http://localhost:8080/fortunes

Test 5: Update Query

http://localhost:8080/upda?q=20

Test 6: Plaintext

http://localhost:8080/plaintext

Test 7: Caching

http://localhost:8080/cached-quer?c=20