プロジェクト
概要
🦀 yet another http web server
システム・インフラできること
- Full HTTP/1.1 protocol support, HTTP/2 currently unsupported
- Asynchronous I/O using tokio
- Streaming request and response bodies
- Chunked transfer encoding
計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 0
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルMicro Http
A lightweight, efficient, and modular HTTP server implementation built on top of tokio.
Features
- Full HTTP/1.1 protocol support, HTTP/2 currently unsupported
- Asynchronous I/O using tokio
- Streaming request and response bodies
- Chunked transfer encoding
- Keep-alive connections
- Expect-continue mechanism
- Efficient memory usage through zero-copy parsing
- Structured logging with tracing
Crates
This workspace contains the following crates:
micro-http: Core HTTP protocol implementation
- Zero-copy parsing
- Streaming bodies
- Full protocol compliance
- Example server
micro-web: High-level web framework
- Routing
- Middleware support
- Request/Response abstractions
- Getting started guide
Quick Start
Add this to your Cargo.toml:
[dependencies]
micro-web = "0.1"
tokio = { version = "1", features = ["full"] }
See the getting started example for a complete working example.
Performance
For performance benchmarks and comparisons, see (we are not in this benchmark yes, but we will):
Development
MSRV
The Minimum Supported Rust Version is 1.90 😁
License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
関連プロジェクトを探す
読み込み中…