#web-server #hyper-http #async #http #hyper #client

hyperdriver

The missing middle for Hyper - Servers and Clients with ergonomic APIs

27 releases (9 breaking)

0.10.0 Apr 4, 2025
0.9.0 Mar 18, 2025
0.8.5 Dec 13, 2024
0.8.2 Nov 2, 2024
0.5.6 Jul 25, 2024

#371 in HTTP server

Download history 60/week @ 2025-01-01 106/week @ 2025-01-08 14/week @ 2025-01-15 8/week @ 2025-01-22 40/week @ 2025-01-29 8/week @ 2025-02-05 16/week @ 2025-02-12 65/week @ 2025-02-19 27/week @ 2025-02-26 66/week @ 2025-03-05 99/week @ 2025-03-12 101/week @ 2025-03-19 2/week @ 2025-03-26 157/week @ 2025-04-02 10/week @ 2025-04-09 9/week @ 2025-04-16

186 downloads per month
Used in 2 crates

MIT license

540KB
13K SLoC

hyperdriver: Tools and libraries which help out hyper

crate Docs Build Status MIT licensed

This crate exists to fill the missing middle between hyper and full-fledged frameworks like axum. Crates like axum provide servers, and crates like reqwest provide clients, but both are specific to what they do. hyperdriver provides a set of services and tools which can be used to build both servers and clients in a more flexible way.

If you want to control the protocol, or the transport (e.g. using something other than TCP) then hyperdriver is for you.

Features

  • Server with graceful shutdown, HTTP/2 and TLS support.
  • Client with HTTP/2 and TLS support.
  • Streams which can dispatch between TCP, Unix domain, and in-process duplex sockets.
  • A unifying Body type to make building small Clients and Servers easier.
  • Bridge between Tokio and Hyper, similar to hyper-utils.

Dependencies

~5–24MB
~443K SLoC