237 releases (9 stable)

1.5.0 Oct 15, 2024
1.4.1 Jul 9, 2024
1.3.1 Apr 16, 2024
1.2.0 Feb 21, 2024
0.0.6 Nov 28, 2014

#3 in HTTP client

Download history 2502719/week @ 2024-07-27 2408624/week @ 2024-08-03 2535955/week @ 2024-08-10 2511542/week @ 2024-08-17 2537210/week @ 2024-08-24 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 2291145/week @ 2024-11-09

11,818,284 downloads per month
Used in 21,297 crates (3,553 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–8.5MB
~71K SLoC