Framed requires that the traits AsyncRead and AsyncWrite are implemented for its stream-input. Is there currently a way of doing this in a compatible way?
This is probably due to tokio shipping its own
AsyncWrite traits, and framed expects those.
You can use the futures-codec crate.
Just know that the author is supposed to release a new version, and promised to do that ASAP, but 0.2.5 has a bug, so for now I add a patch section to cargo.toml that takes the master branch from the git repo.