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 2402588/week @ 2024-08-04 2540365/week @ 2024-08-11 2521949/week @ 2024-08-18 2525483/week @ 2024-08-25 2432924/week @ 2024-09-01 2511127/week @ 2024-09-08 2366848/week @ 2024-09-15 2681686/week @ 2024-09-22 2868413/week @ 2024-09-29 3312245/week @ 2024-10-06 3283756/week @ 2024-10-13 3225163/week @ 2024-10-20 2763161/week @ 2024-10-27 2807512/week @ 2024-11-03 2762258/week @ 2024-11-10 2839016/week @ 2024-11-17

11,357,554 downloads per month
Used in 21,441 crates (3,561 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