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

*disclaimer: this is an attempt at fixing https://github.com/apollographql/router/issues/1572, for which I'm under tight timing constraints, so right now this PR's goal is discussing and finding a quick fix that we...

I noticed a new PR on zstd https://github.com/gyscos/zstd-rs/pull/247 that optimizes `zstd::stream::Encoder` by reusing zstd context: > From profiling, I have found that creating a zstd::stream::Encoder and using it to encode...

enhancement

I'm hitting a `Flush after shutdown` panic, ultimately here: https://github.com/Nullus157/async-compression/blob/ece5584ce59a683c38e94f9957969e1bdb08b665/src/tokio/write/generic/encoder.rs#L97 # Repro Here's an minimal example, which reliably panics on my machine. ```rust use async_compression::tokio::write::ZstdEncoder; // 0.4.3 use bytes::Bytes; //...

bug

Fix #154 :warning: not ready yet, only the bare minimum was done to validate it in tokio and gzip, the rest wil come later this is a follow up on...

A-semver-minor

Hello, It seems xz2 is unmaintained and the maintainer has stepped down: https://github.com/alexcrichton/xz2-rs/issues/128#issuecomment-2214139875. https://github.com/Portable-Network-Archive/liblzma-rs seems to be the replacement, including a newer version of `xz`, `wasm` support and test updates....

Hi! So I've got a `stream: impl AsyncBufRead`, which may or may not be gzipped. I'm trying to return that stream in a function whose return type is `Result`, but...

enhancement
good first issue

## 🤖 New release * `async-compression`: 0.4.12 -> 0.4.13 Changelog ## [0.4.13](https://github.com/Nullus157/async-compression/compare/v0.4.12...v0.4.13) - 2024-08-02 ### Other - Fix deny.toml: Remove deprecated keys - *(deps)* bump EmbarkStudios/cargo-deny-action from 1 to 2...

There's a seekable zstd format, which adds a jump table to be able to start decompressing from the start of any chunk marked at compression time. I'd love to have...

enhancement

I have a use-case where I don't know the compression of a file up-front. It would be nice if there was a way to use this crate to figure out...

enhancement