async-compression
async-compression copied to clipboard
Adaptors between compression crates and Rust's async IO types
### Issue `async-compression` offers no way to call [`set_pledged_src_size()`](https://github.com/gyscos/zstd-rs/blob/739b040997dca5899cafef3b3be73cd5adf4a651/src/stream/raw.rs#L355) on the `zstd` encoder. Could we provide a public API in `async-compression` to call this? ### Context `zstd` encoding can include...
I have a `GzipEncoder` and I need to finalize it. I'd like to call `sync_all()` on it. But before I do that I think I need to finalize encoding first....
In https://github.com/gyscos/zstd-rs/pull/283 , I implemented support for sharing a thread pool across compression contexts, to speed up multithreaded compression and avoid having multiple contexts compete for a fixed number of...
Until Encoder returns Poll::Ready from poll_shutdown, it should expect calls to poll_flush and poll_shutdown any number of times, and not return an error. This is the same as https://github.com/Nullus157/async-compression/issues/246 Test...
Is RAR archive format planned ? I know it's proprietary, but decompression is open source. Sometimes that's what you're given to decompress. Also, does this library offer the possibility of...
Hi, we're using async-compression in docs.rs, the recent release gives us plenty of new errors. One example is `db::delete::tests::test_delete_crate::true_expects` What do you need to debug this? Do you have pointers...
catching up with the recent work, i feel that requiring safety docs on all existing and new unsafe blocks would be prudent
https://github.com/Nullus157/async-compression/blob/386f59ebac3539c2424dfa0d8cbd3afe7d214620/crates/async-compression/src/futures/write/buf_writer.rs#L22
This fails with 131072 bytes read, which is coincidentally zstd's max block size. Bug discovered in https://github.com/facebook/buck2/pull/1103. Clearly poll_read is returning "ready" with 0 bytes read when it should still...