Implementation of hyper
's runtime traits for smol
.
The goal of this crate is to allow for greater integration between hyper
and
smol
. It is deliberately constrained and implements the following:
hyper::rt::Read
and hyper::rt::Write
forfutures_io::AsyncRead
and futures_io::AsyncWrite
, respectively.hyper::rt::Executor
on [SmolExecutor
], which wraps aroundsmol::Executor
(&Executor
, Arc<Executor>
,hyper::rt::Timer
on [SmolTimer
], which uses theasync_io::Timer
type to create timeouts.This crate should allow for smol
's type to be used in hyper
contexts.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.