Skip to content

🦀 yet another http web server

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

foldright/micro-http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.