Crates.io | hreq-h2 |
lib.rs | hreq-h2 |
version | 0.2.7 |
source | src |
created_at | 2020-05-24 10:06:22.477537 |
updated_at | 2020-11-14 11:12:02.079967 |
description | An HTTP/2.0 client and server |
homepage | |
repository | https://github.com/algesten/hreq-h2 |
max_upload_size | |
id | 245167 |
size | 827,572 |
A Tokio un-aware, HTTP/2.0 client & server implementation for Rust.
This is the h2 crate with some modification to remove dependencies on tokio. This roughly means:
AsyncWrite
and AsyncRead
are replaced with the standard
variants from the futures crate. The potential optimizations tokio aims for are lost.codec
into the source tree.The modifications are made in step-by-step commits to try and clearly illustrate how to redo the changes as the original crate updates.
Publishing this crate is by no means an attempt to take credit for or criticise the excellent work done by people behind h2/hyperium/tokio.