mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-15 00:00:15 +02:00
This commit extracts the concrete implementation of `FrameIo` in tokio-proto to tokio-core under the name `EasyFramed`. This extraction is accompanied with a new `EasyBuf` buffer type to work with when parsing types. The purpose of this movement is to provide a clear and easy entry point at the `FramedIo` layer for those who need it. Eventually these buffer types will get replaced or moved to the `bytes` crate, but in the interest of an 0.1 release and remaining backwards compatible with the tokio-core 0.1 release this is adding a separate module.