Skip to content

Latest commit

 

History

History
73 lines (49 loc) · 2.13 KB

README.md

File metadata and controls

73 lines (49 loc) · 2.13 KB

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 not supported
  • 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.74

License

Licensed under either of:

at your option.

Contributing

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