238 releases (10 stable)

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 2526073/week @ 2024-08-21 2373322/week @ 2024-08-28 2625285/week @ 2024-09-04 2436004/week @ 2024-09-11 2543414/week @ 2024-09-18 2751739/week @ 2024-09-25 3113329/week @ 2024-10-02 3146342/week @ 2024-10-09 3445010/week @ 2024-10-16 2937251/week @ 2024-10-23 2733752/week @ 2024-10-30 2724260/week @ 2024-11-06 2839066/week @ 2024-11-13 2855368/week @ 2024-11-20 2452670/week @ 2024-11-27 2358035/week @ 2024-12-04

11,013,053 downloads per month
Used in 21,685 crates (3,579 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