Micro Http – lightweight and modular HTTP server implementation

Micro Http is a lightweight and modular HTTP server implementation for Rust.

Built on Tokio, it provides asynchronous HTTP/1.1 handling with streaming bodies, persistent connections and efficient request parsing.

The project also includes Micro Web, a higher-level framework offering routing, middleware, type-safe data extraction and request/response abstractions. The software is currently at an alpha stage, and its APIs may change between releases.

This is free and open source software.

Key Features

  • Supports the HTTP/1.1 protocol.
  • Provides asynchronous I/O through Tokio.
  • Streams request and response bodies.
  • Supports chunked transfer encoding and keep-alive connections.
  • Uses zero-copy parsing and efficient buffer management where possible.
  • Offers flexible routing with path parameters, filters and nested routers.
  • Provides type-safe extraction of path, query, form and JSON data.
  • Supports middleware and decorators for response transformation.
  • Includes structured logging through tracing.
  • Provides automatic conversion between handlers, requests and responses.

Website: github.com/foldright/micro-http
Support:
Developer: FoldRight
License: MIT License or Apache License 2.0

Micro Http is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

Rust Web Micro-Frameworks
Actix WebPowerful, pragmatic, and extremely fast web framework with a few twists
SalvoPowerful and simplest web server framework
AbscissaMany features with minimal dependencies and security conscious
RouilleDesigned to be intuitive and doesn't employ middlewares
TideMnimal and pragmatic Rust web application framework
vialSmall web "framework" for making small web sites
SpairSmall and fast frontend framework

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted