Skip to content
forked from hyperium/h2

HTTP 2.0 client & server implementation for Rust.

License

Notifications You must be signed in to change notification settings

algesten/hreq-h2

 
 

Repository files navigation

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.

About

HTTP 2.0 client & server implementation for Rust.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 99.2%
  • Other 0.8%