tokio-rs / tokio-core

I/O primitives and event loop for async I/O in Rust
Apache License 2.0
634 stars 116 forks source link

Update crate to use Tokio reform internally #303

Closed carllerche closed 6 years ago

carllerche commented 6 years ago

This depends on https://github.com/tokio-rs/tokio/pull/160.

Tokio reform was released as a separate crate (tokio). However, the ecosystem has been split as tokio-core is not compatible with tokio. Libraries (like hyper) that expose tokio-core as part of the public API cannot easily switch to tokio as is.

This patch updates tokio-core to use tokio internally. This should help reduce the friction encountered when users attempt to update their code bases to tokio.