| Crates.io | http2 |
| lib.rs | http2 |
| version | 0.5.8 |
| created_at | 2025-01-16 05:43:01.188371+00 |
| updated_at | 2025-08-13 10:49:36.864071+00 |
| description | An HTTP/2 client and server |
| homepage | |
| repository | https://github.com/0x676e67/http2 |
| max_upload_size | |
| id | 1518929 |
| size | 894,952 |
A Tokio aware, HTTP/2 client & server implementation for Rust.
More information about this crate can be found in the crate documentation.
This package focuses solely on implementing the HTTP/2 specification. It supports client-side processing based on the original h2 branch, including:
This crate is now used by wreq, which will provide all of these features.
To use http2, first add this to your Cargo.toml:
[dependencies]
http2 = "0.5"
Next, add this to your crate:
extern crate http2;
use http2::server::Connection;
fn main() {
// ...
}
The project is based on a fork of h2.