238 releases (10 stable)

new 1.5.1 Nov 19, 2024
1.4.1 Jul 9, 2024
1.2.0 Feb 21, 2024
1.1.0 Dec 18, 2023
0.0.6 Nov 28, 2014

#3 in HTTP client

Download history 2501350/week @ 2024-07-30 2460648/week @ 2024-08-06 2486139/week @ 2024-08-13 2520994/week @ 2024-08-20 2404794/week @ 2024-08-27 2587726/week @ 2024-09-03 2467409/week @ 2024-09-10 2498029/week @ 2024-09-17 2696863/week @ 2024-09-24 3065510/week @ 2024-10-01 3222493/week @ 2024-10-08 3382795/week @ 2024-10-15 2982816/week @ 2024-10-22 2746643/week @ 2024-10-29 2738307/week @ 2024-11-05 2812252/week @ 2024-11-12

11,889,293 downloads per month
Used in 21,362 crates (3,559 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.6–9MB
~71K SLoC