async-compression icon indicating copy to clipboard operation
async-compression copied to clipboard

Adaptors between compression crates and Rust's async IO types

Results 52 async-compression issues
Sort by recently updated
recently updated
newest added

Fixed #298 In this PR I tried a different fix, by making sure `buf.consume` is always called, even on error. I suspect that previously we didn't consume the buffer on...

hello! I was wondering, are there any plans to support the [`ruzstd`](https://crates.io/crates/ruzstd) crate as pure Rust compression/decompression backend to avoid a dependency on libzstd.so? :) Thanks!

enhancement

In https://github.com/rust-lang/crates.io/pull/9622 we upgraded crates.io to the latest `async-compression` release (v0.4.14), which appears to be causing issues on our staging environment: https://rust-lang.sentry.io/share/issue/9e273e28600f48a5aec2ad9e127afbbf/ The code inside the `object_store` crate is throwing...

bug

Would it be possible to support lzma-rs as an alternative to liblzma-sys? https://github.com/Portable-Network-Archive/liblzma-rs has a single maintainer and a C submodule, which makes it hard for us to review and...

This PR fixes #324. It introduces two new crates: - `compression-core`: Contains the `Decode` and `Encode` traits. - `compression-codecs`: Contains the former `codec` module. I ran the changes through `cargo...

A-semver-major

## 🤖 New release * `async-compression`: 0.4.23 -> 0.4.24 (✓ API compatible changes) Changelog ## [0.4.24](https://github.com/Nullus157/async-compression/compare/v0.4.23...v0.4.24) - 2025-05-10 ### Other - narrow tokio requirement to account for RUSTSEC-2025-0023 - move...

I would like to use the abstractions provided for the various compression algorithms in the `codec` module in a synchronous context. Would you be open to factoring out the `codec`...

enhancement

Hi. is there any way to override a block size for let's say BzEncoder? I would like to increase it for better compression ratio.

enhancement

Simplified the `Encoder` state machine. It should now handle `poll_flush` calls after `poll_shutdown` calls. Closes #308 See also #246

A-semver-norelease

Should call flush on finish to ensure that all data are flushed