/hyper

An HTTP library for Rust

Primary LanguageRustMIT LicenseMIT

crates.io Released API docs MIT licensed CI Discord chat

A fast and correct HTTP implementation for Rust.

Note: hyper's master branch is currently preparing breaking changes. For the most recently released code, look to the 0.14.x branch.

  • 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.