#gzip #brotli #zstd #gzip-compression #async-io

async-compression

Adaptors between compression crates and Rust's modern asynchronous IO types

49 releases

new 0.4.22 Mar 25, 2025
0.4.20 Feb 28, 2025
0.4.18 Nov 23, 2024
0.4.12 Jul 21, 2024
0.1.0-alpha.1 May 14, 2019

#9 in Compression

Download history 705681/week @ 2024-12-05 721729/week @ 2024-12-12 414525/week @ 2024-12-19 283428/week @ 2024-12-26 604983/week @ 2025-01-02 764991/week @ 2025-01-09 674863/week @ 2025-01-16 720444/week @ 2025-01-23 746579/week @ 2025-01-30 875426/week @ 2025-02-06 809668/week @ 2025-02-13 936002/week @ 2025-02-20 967262/week @ 2025-02-27 1019993/week @ 2025-03-06 1004389/week @ 2025-03-13 830087/week @ 2025-03-20

4,003,774 downloads per month
Used in 2,169 crates (186 directly)

MIT/Apache

215KB
5K SLoC

async-compression

crates.io version build status downloads docs.rs docs MIT or Apache 2.0 licensed dependency status

This crate provides adaptors between compression crates and Rust's modern asynchronous IO types.

Development

When developing you will need to enable appropriate features for the different test cases to run, the simplest is cargo test --all-features, but you can enable different subsets of features as appropriate for the code you are testing to avoid compiling all dependencies, e.g. cargo test --features tokio,gzip.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0.1–8.5MB
~108K SLoC