I was wondering, are there any plans for a tokio integration? This would allow passing an AsyncRead object to StreamingDecoder (or an equivalent) and then being able to .await decompressed data.
I think I had a need for that earlier but didn't open an issue back then. :)
The async_compression crate has implemented something like this on top of the zstd/zstd-safe crates, maybe that could be of use:
hello!
I was wondering, are there any plans for a
tokio
integration? This would allow passing anAsyncRead
object toStreamingDecoder
(or an equivalent) and then being able to.await
decompressed data.I think I had a need for that earlier but didn't open an issue back then. :)
The
async_compression
crate has implemented something like this on top of the zstd/zstd-safe crates, maybe that could be of use:https://docs.rs/async-compression/0.4.12/async_compression/tokio/bufread/struct.ZstdDecoder.html
Thanks!