codec: update to use std-future (#1214)

Strategy was to

- copy the old codec code that was temporarily being stashed in `tokio-io`
- modify all the type signatures to use Pin, as literal a translation as possible
- fix up the tests likewise

This is intended just to get things compiling and passing tests. Beyond that there is surely
lots of refactoring that can be done to make things more idiomatic. The docs are unchanged.

Closes #1189
This commit is contained in:
jesskfullwood
2019-06-27 10:10:29 -07:00
committed by Carl Lerche
parent ed4d4a5353
commit 6b9e7bdace
16 changed files with 1256 additions and 100 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
members = [
"tokio",
# "tokio-buf",
# "tokio-codec",
"tokio-codec",
"tokio-current-thread",
"tokio-executor",
# "tokio-fs",