Closed allan2 closed 9 months ago
This PR now passes all tests and is ready for review! More notes are in the commit messages.
Feedback is very welcome. Cheers!
This looks great! Thank you for all your time and effort.
https://crates.io/crates/hyper-timeout/0.5.0 - crates.io has been updated with the latest package
This PR is for #24.
hyper now has its own IO traits.
This PR drops the dependency on tokio-io-timeout. Its types are now implemented here in this crate, using hyper IO traits instead of tokio traits.
tokio::io::AsyncRead
is switched tohyper::rt::Read
, and AsyncWrite to WriteTimeoutConnectorStream
, which wrapped tokio_io_timeout::TimeoutStream`, is removedThis PR is mostly finished, but I think it should be looked over. The tests that use
tokio::io::AsyncExt
forread
are not fixed yet.