Open xbjfk opened 1 month ago
Hello, I was beginning to fork xz2 as well, until I came across this crate, thanks for maintaining it!
xz2
According to its docs, it has been deprecated in favor of tokio::io. I tried doing this and it made it seemed to be a non trivial migration, so it might be worth removing tokio entirely, like flate2-rs did: https://github.com/rust-lang/flate2-rs/pull/292, as well as https://github.com/alexcrichton/bzip2-rs/pull/89 and https://github.com/alexcrichton/xz2-rs/pull/109.
tokio::io
flate2-rs
It seems the recommended approach is the async-compression crate, which unfortunately uses xz2 still, but I have made a PR: https://github.com/Nullus157/async-compression/pull/288.
Thanks!
Hello @xbjfk !
Thank you for your message and suggestions. I will review the deprecation notice and consider the migration challenges.
Thanks again!
Hello, I was beginning to fork
xz2
as well, until I came across this crate, thanks for maintaining it!According to its docs, it has been deprecated in favor of
tokio::io
. I tried doing this and it made it seemed to be a non trivial migration, so it might be worth removing tokio entirely, likeflate2-rs
did: https://github.com/rust-lang/flate2-rs/pull/292, as well as https://github.com/alexcrichton/bzip2-rs/pull/89 and https://github.com/alexcrichton/xz2-rs/pull/109.It seems the recommended approach is the async-compression crate, which unfortunately uses xz2 still, but I have made a PR: https://github.com/Nullus157/async-compression/pull/288.
Thanks!