hreq-h2

Crates.iohreq-h2
lib.rshreq-h2
version0.2.7
sourcesrc
created_at2020-05-24 10:06:22.477537
updated_at2020-11-14 11:12:02.079967
descriptionAn HTTP/2.0 client and server
homepage
repositoryhttps://github.com/algesten/hreq-h2
max_upload_size
id245167
size827,572
Martin Algesten (algesten)

documentation

https://docs.rs/h2/0.2.7/h2/

README

hreq-h2

A Tokio un-aware, HTTP/2.0 client & server implementation for Rust.

License: MIT

This is the h2 crate with some modification to remove dependencies on tokio. This roughly means:

  • tokio's AsyncWrite and AsyncRead are replaced with the standard variants from the futures crate. The potential optimizations tokio aims for are lost.
  • Copy tokio's 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.

Commit count: 559

cargo fmt