231 releases (6 stable)

new 1.3.1 Apr 16, 2024
1.2.0 Feb 21, 2024
1.1.0 Dec 18, 2023
1.0.1 Nov 16, 2023
0.0.6 Nov 28, 2014

#4 in HTTP client

Download history 677806/week @ 2023-12-24 1028676/week @ 2023-12-31 1324488/week @ 2024-01-07 1393482/week @ 2024-01-14 1449138/week @ 2024-01-21 1549077/week @ 2024-01-28 1567432/week @ 2024-02-04 1569899/week @ 2024-02-11 1568780/week @ 2024-02-18 1671853/week @ 2024-02-25 1698166/week @ 2024-03-03 1640202/week @ 2024-03-10 1683361/week @ 2024-03-17 1683015/week @ 2024-03-24 1730344/week @ 2024-03-31 1351339/week @ 2024-04-07

6,546,782 downloads per month
Used in 18,280 crates (3,345 directly)

MIT license

665KB
14K 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–4.5MB
~71K SLoC