Closed PAndaContron closed 2 years ago
Yeah my plan is a new major release using the 2021 edition, and updated to use newest futures and bytes dependencies.
edition 2021 is released in october FWIW.
Yeah my plan is a new major release using the 2021 edition
Why wait the release of the new edition ? Changing the edition is not breaking.
@a1phyr increasing the MSRV is, at least I treat it that way.
The
tokio_io
crate has been deprecated for quite some time; theAsyncRead
trait now resides intokio::io
andtokio_io::codec
seems to have been moved totokio_util
. This is a pretty massive headache to work around, since most functions from other libraries give atokio::io::AsyncRead
, which is completely incompatible with the deprecatedtokio_io
version.The async api also uses fairly old versions of
futures
andbytes
, which probably need to be updated as well for compatibility with the current version of tokio.It seems like it shouldn't take much refactoring to update this; as far as I can tell the only change affecting the implementation of the async api is
Stream::poll
being changed toStream::poll_next
. This would be a breaking change though, due to the aforementioned incompatibility betweentokio::io::AsyncRead
andtokio_io::AsyncRead
.