240 releases (11 stable)

new 1.5.2 Dec 16, 2024
1.5.1 Nov 19, 2024
1.5.0 Oct 15, 2024
1.4.1 Jul 9, 2024
0.0.6 Nov 28, 2014

#3 in HTTP client

Download history 2418382/week @ 2024-08-31 2513859/week @ 2024-09-07 2325059/week @ 2024-09-14 2703901/week @ 2024-09-21 2756026/week @ 2024-09-28 3260387/week @ 2024-10-05 3225242/week @ 2024-10-12 3430337/week @ 2024-10-19 2791145/week @ 2024-10-26 2806642/week @ 2024-11-02 2749359/week @ 2024-11-09 2835624/week @ 2024-11-16 2470082/week @ 2024-11-23 2787823/week @ 2024-11-30 3259104/week @ 2024-12-07 2509596/week @ 2024-12-14

11,489,826 downloads per month
Used in 21,870 crates (3,586 directly)

MIT license

695KB
15K SLoC

hyper

crates.io Released API docs MIT licensed CI Discord chat

A protective and efficient HTTP library for all.

  • HTTP/1 and HTTP/2
  • Asynchronous design
  • Leading in performance
  • Tested and correct
  • Extensive production use
  • Client and Server APIs

Get started by looking over the guides.

"Low-level"

hyper is a relatively low-level library, meant to be a building block for libraries and applications.

If you are looking for a convenient HTTP client, then you may wish to consider reqwest.

If you are not sure what HTTP server to choose, then you may want to consider axum or warp, the latter taking a more functional approach. Both are built on top of this library.

Contributing

To get involved, take a look at CONTRIBUTING.

If you prefer chatting, there is an active community in the Discord server.

License

hyper is provided under the MIT license. See LICENSE.

Dependencies

~2.5–8.5MB
~71K SLoC