Skip to content
项目

关于

🦀 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

Crates.io Crates.io Actions Status Actions Status

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:

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:

at your option.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

探索相关项目

加载中…