Skip to content
Projetos

Sobre

🦀 yet another http web server

Sistemas e infraestrutura

Como estes números são medidos

O que você pode fazer

  • Full HTTP/1.1 protocol support, HTTP/2 currently unsupported
  • Asynchronous I/O using tokio
  • Streaming request and response bodies
  • Chunked transfer encoding

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
0
em 1 mês
0

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

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.

Explore projetos relacionados

Carregando…