#async-io #brotli #async #gzip #zstd #adaptor

async-compression

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

47 releases

0.4.20 Feb 28, 2025
0.4.18 Nov 23, 2024
0.4.12 Jul 21, 2024
0.4.6 Jan 17, 2024
0.1.0-alpha.1 May 14, 2019

#11 in Compression

Download history 609440/week @ 2024-11-22 624930/week @ 2024-11-29 726693/week @ 2024-12-06 703471/week @ 2024-12-13 338555/week @ 2024-12-20 330073/week @ 2024-12-27 655174/week @ 2025-01-03 760372/week @ 2025-01-10 674132/week @ 2025-01-17 716118/week @ 2025-01-24 772005/week @ 2025-01-31 896750/week @ 2025-02-07 793485/week @ 2025-02-14 951766/week @ 2025-02-21 983262/week @ 2025-02-28 837167/week @ 2025-03-07

3,740,722 downloads per month
Used in 2,135 crates (185 directly)

MIT/Apache

195KB
4.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.2–8.5MB
~105K SLoC