8 releases

Uses new Rust 2024

0.3.0 Mar 30, 2025
0.2.2 Sep 1, 2024
0.1.3 Jul 19, 2024

#771 in HTTP server

Download history 1/week @ 2025-05-17

365 downloads per month

MIT license

16KB
351 lines

µHTTP 🦀🚀🌎

A fast, tiny library for writing HTTP servers in Rust designed for humans:

  • Simple: Inspired by Go's standard library HTTP server.

  • Fast: High performance, multi-threaded implementation built on top of Tokio that competes with the fastest Rust HTTP servers.

  • Flexible: Simple interface that enables many use cases. It can be used directly or to act as a base for frameworks to build on top of.

Installation

Available on crates.io, install with:

cargo add uhttp

Dependencies

~4–14MB
~144K SLoC