new 0.4.12 Jan 16, 2025

#211 in #non-blocking

MIT license

795KB
18K SLoC

rhttp2 - rust & http2

A Tokio aware, HTTP/2 client & server implementation for Rust.

License: MIT Crates.io Documentation

More information about this crate can be found in the crate documentation.

Features

  • Client and server HTTP/2 implementation.
  • Implements the full HTTP/2 specification.
  • Passes h2spec.
  • Focus on performance and correctness.
  • Built on Tokio.

Non-goals

This package focuses solely on implementing the HTTP/2 specification. It supports client-side processing based on the original h2 branch, including:

  • Headers frame priority and pseudo-header permutation
  • Priority frame (client-side only)

For additional features, consider using hyper2, which builds on this package.

Accolades

The project is based on a fork of h2.

Dependencies

~4–10MB
~83K SLoC